﻿// MT538




using Little.Soldier.SWIFT;
using Little.Soldier.SWIFT.Definition;
using System.Collections.Generic;
using System.ComponentModel;

namespace Little.Soldier.SWIFT.Messages.Category5
{
  public class MT538 : SwiftMessage
  {
    private static SwiftMessageDefinition MessageDefinition;
    private static SwiftTagSequenceDefinition U0002;
    private static SwiftTagDefinition U0003;
    private static SwiftTagSubItemDefinition U0004;
    private static SwiftTagDefinition U0005;
    private static SwiftTagSubItemDefinition U0006;
    private static SwiftTagSubItemDefinition U0007;
    private static SwiftTagChoiceDefinition U0008;
    private static SwiftTagDefinition U000E;
    private static SwiftTagSubItemDefinition U000F;
    private static SwiftTagSubItemDefinition U0010;
    private static SwiftTagDefinition U0011;
    private static SwiftTagSubItemDefinition U0012;
    private static SwiftTagSubItemDefinition U0013;
    private static SwiftTagDefinition U0014;
    private static SwiftTagSubItemDefinition U0015;
    private static SwiftTagSubItemDefinition U0016;
    private static SwiftTagDefinition U0017;
    private static SwiftTagSubItemDefinition U0018;
    private static SwiftTagSubItemDefinition U0019;
    private static SwiftTagSubItemDefinition U001A;
    private static SwiftTagChoiceDefinition U001B;
    private static SwiftTagDefinition U001C;
    private static SwiftTagSubItemDefinition U001D;
    private static SwiftTagSubItemDefinition U001E;
    private static SwiftTagDefinition U001F;
    private static SwiftTagSubItemDefinition U007F;
    private static SwiftTagSubItemDefinition U0080;
    private static SwiftTagSubItemDefinition U0081;
    private static SwiftTagSubItemDefinition U0082;
    private static SwiftTagDefinition U0083;
    private static SwiftTagSubItemDefinition U0084;
    private static SwiftTagSubItemDefinition U0086;
    private static SwiftTagSubItemDefinition U0087;
    private static SwiftTagSubItemDefinition U0088;
    private static SwiftTagSubItemDefinition U0089;
    private static SwiftTagSubItemDefinition U008A;
    private static SwiftTagSubItemDefinition U008B;
    private static SwiftTagSubItemDefinition U008C;
    private static SwiftTagSubItemDefinition U008D;
    private static SwiftTagChoiceDefinition U008E;
    private static SwiftTagDefinition U008F;
    private static SwiftTagSubItemDefinition U0090;
    private static SwiftTagSubItemDefinition U0091;
    private static SwiftTagSubItemDefinition U0092;
    private static SwiftTagSubItemDefinition U0093;
    private static SwiftTagDefinition U0094;
    private static SwiftTagSubItemDefinition U0095;
    private static SwiftTagSubItemDefinition U0096;
    private static SwiftTagSubItemDefinition U0097;
    private static SwiftTagSubItemDefinition U0098;
    private static SwiftTagSubItemDefinition U0099;
    private static SwiftTagSubItemDefinition U009A;
    private static SwiftTagSubItemDefinition U009B;
    private static SwiftTagSubItemDefinition U009C;
    private static SwiftTagDefinition U009D;
    private static SwiftTagSubItemDefinition U009E;
    private static SwiftTagSubItemDefinition U009F;
    private static SwiftTagSubItemDefinition U0001U0002;
    private static SwiftTagSequenceDefinition U0002U0002;
    private static SwiftTagDefinition U0003U0002;
    private static SwiftTagSubItemDefinition U0004U0002;
    private static SwiftTagChoiceDefinition U0005U0002;
    private static SwiftTagDefinition U0006U0002;
    private static SwiftTagSubItemDefinition U0007U0002;
    private static SwiftTagSubItemDefinition U0008U0002;
    private static SwiftTagDefinition U000EU0002;
    private static SwiftTagSubItemDefinition U000FU0002;
    private static SwiftTagSubItemDefinition U0010U0002;
    private static SwiftTagSubItemDefinition U0011U0002;
    private static SwiftTagDefinition U0012U0002;
    private static SwiftTagSubItemDefinition U0013U0002;
    private static SwiftTagSubItemDefinition U0014U0002;
    private static SwiftTagDefinition U0015U0002;
    private static SwiftTagSubItemDefinition U0016U0002;
    private static SwiftTagChoiceDefinition U0017U0002;
    private static SwiftTagDefinition U0018U0002;
    private static SwiftTagSubItemDefinition U0019U0002;
    private static SwiftTagSubItemDefinition U001AU0002;
    private static SwiftTagDefinition U001BU0002;
    private static SwiftTagSubItemDefinition U001CU0002;
    private static SwiftTagSubItemDefinition U001DU0002;
    private static SwiftTagSubItemDefinition U001EU0002;
    private static SwiftTagChoiceDefinition U001FU0002;
    private static SwiftTagDefinition U007FU0002;
    private static SwiftTagSubItemDefinition U0080U0002;
    private static SwiftTagSubItemDefinition U0081U0002;
    private static SwiftTagDefinition U0082U0002;
    private static SwiftTagSubItemDefinition U0083U0002;
    private static SwiftTagSubItemDefinition U0084U0002;
    private static SwiftTagSubItemDefinition U0086U0002;
    private static SwiftTagSubItemDefinition U0087U0002;
    private static SwiftTagDefinition U0088U0002;
    private static SwiftTagSubItemDefinition U0089U0002;
    private static SwiftTagSubItemDefinition U008AU0002;
    private static SwiftTagDefinition U008BU0002;
    private static SwiftTagSubItemDefinition U008CU0002;
    private static SwiftTagSequenceDefinition U008DU0002;
    private static SwiftTagDefinition U008EU0002;
    private static SwiftTagSubItemDefinition U008FU0002;
    private static SwiftTagDefinition U0090U0002;
    private static SwiftTagSubItemDefinition U0091U0002;
    private static SwiftTagSubItemDefinition U0092U0002;
    private static SwiftTagSubItemDefinition U0093U0002;
    private static SwiftTagSequenceDefinition U0094U0002;
    private static SwiftTagDefinition U0095U0002;
    private static SwiftTagSubItemDefinition U0096U0002;
    private static SwiftTagDefinition U0097U0002;
    private static SwiftTagSubItemDefinition U0098U0002;
    private static SwiftTagSubItemDefinition U0099U0002;
    private static SwiftTagSubItemDefinition U009AU0002;
    private static SwiftTagSubItemDefinition U009BU0002;
    private static SwiftTagSubItemDefinition U009CU0002;
    private static SwiftTagDefinition U009DU0002;
    private static SwiftTagSubItemDefinition U009EU0002;
    private static SwiftTagSubItemDefinition U009FU0002;
    private static SwiftTagSubItemDefinition U0001U0003;
    private static SwiftTagChoiceDefinition U0002U0003;
    private static SwiftTagDefinition U0003U0003;
    private static SwiftTagSubItemDefinition U0004U0003;
    private static SwiftTagSubItemDefinition U0005U0003;
    private static SwiftTagSubItemDefinition U0006U0003;
    private static SwiftTagDefinition U0007U0003;
    private static SwiftTagSubItemDefinition U0008U0003;
    private static SwiftTagSubItemDefinition U000EU0003;
    private static SwiftTagDefinition U000FU0003;
    private static SwiftTagSubItemDefinition U0010U0003;
    private static SwiftTagSubItemDefinition U0011U0003;
    private static SwiftTagSubItemDefinition U0012U0003;
    private static SwiftTagDefinition U0013U0003;
    private static SwiftTagSubItemDefinition U0014U0003;
    private static SwiftTagSubItemDefinition U0015U0003;
    private static SwiftTagDefinition U0016U0003;
    private static SwiftTagSubItemDefinition U0017U0003;
    private static SwiftTagSubItemDefinition U0018U0003;
    private static SwiftTagDefinition U0019U0003;
    private static SwiftTagSubItemDefinition U001AU0003;
    private static SwiftTagSubItemDefinition U001BU0003;
    private static SwiftTagChoiceDefinition U001CU0003;
    private static SwiftTagDefinition U001DU0003;
    private static SwiftTagSubItemDefinition U001EU0003;
    private static SwiftTagSubItemDefinition U001FU0003;
    private static SwiftTagDefinition U007FU0003;
    private static SwiftTagSubItemDefinition U0080U0003;
    private static SwiftTagSubItemDefinition U0081U0003;
    private static SwiftTagSubItemDefinition U0082U0003;
    private static SwiftTagDefinition U0083U0003;
    private static SwiftTagSubItemDefinition U0084U0003;
    private static SwiftTagSubItemDefinition U0086U0003;
    private static SwiftTagSubItemDefinition U0087U0003;
    private static SwiftTagSubItemDefinition U0088U0003;
    private static SwiftTagDefinition U0089U0003;
    private static SwiftTagSubItemDefinition U008AU0003;
    private static SwiftTagSubItemDefinition U008BU0003;
    private static SwiftTagChoiceDefinition U008CU0003;
    private static SwiftTagDefinition U008DU0003;
    private static SwiftTagSubItemDefinition U008EU0003;
    private static SwiftTagSubItemDefinition U008FU0003;
    private static SwiftTagSubItemDefinition U0090U0003;
    private static SwiftTagSubItemDefinition U0091U0003;
    private static SwiftTagDefinition U0092U0003;
    private static SwiftTagSubItemDefinition U0093U0003;
    private static SwiftTagSubItemDefinition U0094U0003;
    private static SwiftTagSubItemDefinition U0095U0003;
    private static SwiftTagSubItemDefinition U0096U0003;
    private static SwiftTagSubItemDefinition U0097U0003;
    private static SwiftTagSubItemDefinition U0098U0003;
    private static SwiftTagDefinition U0099U0003;
    private static SwiftTagSubItemDefinition U009AU0003;
    private static SwiftTagSubItemDefinition U009BU0003;
    private static SwiftTagSubItemDefinition U009CU0003;
    private static SwiftTagSubItemDefinition U009DU0003;
    private static SwiftTagDefinition U009EU0003;
    private static SwiftTagSubItemDefinition U009FU0003;
    private static SwiftTagSubItemDefinition U0001U0004;
    private static SwiftTagSubItemDefinition U0002U0004;
    private static SwiftTagDefinition U0003U0004;
    private static SwiftTagSubItemDefinition U0004U0004;
    private static SwiftTagSubItemDefinition U0005U0004;
    private static SwiftTagDefinition U0006U0004;
    private static SwiftTagSubItemDefinition U0007U0004;
    private static SwiftTagSequenceDefinition U0008U0004;
    private static SwiftTagDefinition U000EU0004;
    private static SwiftTagSubItemDefinition U000FU0004;
    private static SwiftTagChoiceDefinition U0010U0004;
    private static SwiftTagDefinition U0011U0004;
    private static SwiftTagSubItemDefinition U0012U0004;
    private static SwiftTagSubItemDefinition U0013U0004;
    private static SwiftTagSubItemDefinition U0014U0004;
    private static SwiftTagSubItemDefinition U0015U0004;
    private static SwiftTagSubItemDefinition U0016U0004;
    private static SwiftTagDefinition U0017U0004;
    private static SwiftTagSubItemDefinition U0018U0004;
    private static SwiftTagSubItemDefinition U0019U0004;
    private static SwiftTagDefinition U001AU0004;
    private static SwiftTagSubItemDefinition U001BU0004;
    private static SwiftTagSubItemDefinition U001CU0004;
    private static SwiftTagSubItemDefinition U001DU0004;
    private static SwiftTagSubItemDefinition U001EU0004;
    private static SwiftTagDefinition U001FU0004;
    private static SwiftTagSubItemDefinition U007FU0004;
    private static SwiftTagSubItemDefinition U0080U0004;
    private static SwiftTagSubItemDefinition U0081U0004;
    private static SwiftTagSequenceDefinition U0082U0004;
    private static SwiftTagDefinition U0083U0004;
    private static SwiftTagSubItemDefinition U0084U0004;
    private static SwiftTagSequenceDefinition U0086U0004;
    private static SwiftTagDefinition U0087U0004;
    private static SwiftTagSubItemDefinition U0088U0004;
    private static SwiftTagChoiceDefinition U0089U0004;
    private static SwiftTagDefinition U008AU0004;
    private static SwiftTagSubItemDefinition U008BU0004;
    private static SwiftTagSubItemDefinition U008CU0004;
    private static SwiftTagDefinition U008DU0004;
    private static SwiftTagSubItemDefinition U008EU0004;
    private static SwiftTagSubItemDefinition U008FU0004;
    private static SwiftTagSubItemDefinition U0090U0004;
    private static SwiftTagDefinition U0091U0004;
    private static SwiftTagSubItemDefinition U0092U0004;
    private static SwiftTagSubItemDefinition U0093U0004;
    private static SwiftTagDefinition U0094U0004;
    private static SwiftTagSubItemDefinition U0095U0004;
    private static SwiftTagDefinition U0096U0004;
    private static SwiftTagSubItemDefinition U0097U0004;
    private static SwiftTagSubItemDefinition U0098U0004;
    private static SwiftTagSubItemDefinition U0099U0004;
    private static SwiftTagSubItemDefinition U009AU0004;
    private static SwiftTagDefinition U009BU0004;
    private static SwiftTagSubItemDefinition U009CU0004;
    private static SwiftTagSubItemDefinition U009DU0004;
    private static SwiftTagSubItemDefinition U009EU0004;
    private static SwiftTagChoiceDefinition U009FU0004;
    private static SwiftTagDefinition U0001U0005;
    private static SwiftTagSubItemDefinition U0002U0005;
    private static SwiftTagSubItemDefinition U0003U0005;
    private static SwiftTagDefinition U0004U0005;
    private static SwiftTagSubItemDefinition U0005U0005;
    private static SwiftTagSubItemDefinition U0006U0005;
    private static SwiftTagSubItemDefinition U0007U0005;
    private static SwiftTagSubItemDefinition U0008U0005;
    private static SwiftTagDefinition U000EU0005;
    private static SwiftTagSubItemDefinition U000FU0005;
    private static SwiftTagSubItemDefinition U0010U0005;
    private static SwiftTagSubItemDefinition U0011U0005;
    private static SwiftTagDefinition U0012U0005;
    private static SwiftTagSubItemDefinition U0013U0005;
    private static SwiftTagSubItemDefinition U0014U0005;
    private static SwiftTagDefinition U0015U0005;
    private static SwiftTagSubItemDefinition U0016U0005;
    private static SwiftTagDefinition U0017U0005;
    private static SwiftTagSubItemDefinition U0018U0005;
    private static SwiftTagDefinition U0019U0005;
    private static SwiftTagSubItemDefinition U001AU0005;
    private static SwiftTagSequenceDefinition U001BU0005;
    private static SwiftTagDefinition U001CU0005;
    private static SwiftTagSubItemDefinition U001DU0005;
    private static SwiftTagChoiceDefinition U001EU0005;
    private static SwiftTagDefinition U001FU0005;
    private static SwiftTagSubItemDefinition U007FU0005;
    private static SwiftTagSubItemDefinition U0080U0005;
    private static SwiftTagDefinition U0081U0005;
    private static SwiftTagSubItemDefinition U0082U0005;
    private static SwiftTagSubItemDefinition U0083U0005;
    private static SwiftTagSubItemDefinition U0084U0005;
    private static SwiftTagDefinition U0086U0005;
    private static SwiftTagSubItemDefinition U0087U0005;
    private static SwiftTagSubItemDefinition U0088U0005;
    private static SwiftTagDefinition U0089U0005;
    private static SwiftTagSubItemDefinition U008AU0005;

    [Description("General Information")]
    public MT538.SequenceAClass SequenceA
    {
      get
      {
        return new MT538.SequenceAClass((SwiftElement) this, 0, false);
      }
    }

    [Description("Financial Instrument")]
    public MT538.SequenceBClass[] SequenceB
    {
      get
      {
        int index = -1;
        List<MT538.SequenceBClass> list = new List<MT538.SequenceBClass>();
        int count;
        do
        {
          ++index;
          MT538.SequenceBClass sequenceBclass = new MT538.SequenceBClass((SwiftElement) this, index, false);
          count = this.ListTags((SwiftElement) sequenceBclass).Count;
          if (count > 0)
            list.Add(sequenceBclass);
        }
        while (count > 0);
        return list.ToArray();
      }
    }

    [Description("Additional Information")]
    public MT538.SequenceCClass SequenceC
    {
      get
      {
        MT538.SequenceCClass sequenceCclass = new MT538.SequenceCClass((SwiftElement) this, 0, false);
        if (this.ListTags((SwiftElement) sequenceCclass).Count > 0)
          return sequenceCclass;
        else
          return (MT538.SequenceCClass) null;
      }
    }

    public MT538()
      : base(true)
    {
    }

    public MT538(SwiftMessage message)
      : base(message)
    {
    }

    public MT538.SequenceBClass AddSequenceB()
    {
      return new MT538.SequenceBClass((SwiftElement) this, this.SequenceB.Length, true);
    }

    public void RemoveSequenceB(MT538.SequenceBClass sequence)
    {
      foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
        this.RemoveTag(tag);
    }

    public MT538.SequenceCClass AddSequenceC()
    {
      return this.SequenceC ?? new MT538.SequenceCClass((SwiftElement) this, 0, true);
    }

    public void RemoveSequenceC(MT538.SequenceCClass sequence)
    {
      foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
        this.RemoveTag(tag);
    }

    internal override SwiftMessageDefinition MsgDefinition()
    {
      return MT538.MessageDefinition;
    }

    protected override void InitSwiftMessageDefinition()
    {
      MT538.MessageDefinition = new SwiftMessageDefinition("MT538", "Statement of Intra-Position Advices");
      MT538.U0002 = new SwiftTagSequenceDefinition("SequenceA", "General Information");
      MT538.U0003 = new SwiftTagDefinition("StartOfBlock_A_16R", "Start of Block");
      MT538.U0003.TagName = ":16R:GENL";
      MT538.U0004 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block ");
      MT538.U0004.Mandatory = false;
      MT538.U0003.Elements.Add((SwiftDefinitionElement) MT538.U0004);
      MT538.U0002.Elements.Add((SwiftDefinitionElement) MT538.U0003);
      MT538.U0005 = new SwiftTagDefinition("PageNumberContinuationIndicator_A_28E", "Page Number/Continuation Indicator");
      MT538.U0005.TagName = ":28E:";
      MT538.U0006 = new SwiftTagSubItemDefinition("PageNumber", "Page Number");
      MT538.U0005.Elements.Add((SwiftDefinitionElement) MT538.U0006);
      MT538.U0007 = new SwiftTagSubItemDefinition("ContinuationIndicator", "Continuation Indicator");
      MT538.U0005.Elements.Add((SwiftDefinitionElement) MT538.U0007);
      MT538.U0002.Elements.Add((SwiftDefinitionElement) MT538.U0005);
      MT538.U0008 = new SwiftTagChoiceDefinition("Choice", "");
      MT538.U0008.Mandatory = false;
      MT538.U0008.Multiple = true;
      MT538.U000E = new SwiftTagDefinition("NumberIdentification_A_13A", "Statement Number");
      MT538.U000E.TagName = ":13A::";
      MT538.U000F = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U000E.Elements.Add((SwiftDefinitionElement) MT538.U000F);
      MT538.U0010 = new SwiftTagSubItemDefinition("NumberId", "Number Id");
      MT538.U000E.Elements.Add((SwiftDefinitionElement) MT538.U0010);
      MT538.U0008.Elements.Add((SwiftDefinitionElement) MT538.U000E);
      MT538.U0011 = new SwiftTagDefinition("NumberIdentification_A_13J", "Statement Number");
      MT538.U0011.TagName = ":13J::";
      MT538.U0012 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U0011.Elements.Add((SwiftDefinitionElement) MT538.U0012);
      MT538.U0013 = new SwiftTagSubItemDefinition("ExtendedNumberId", "Extended Number Id");
      MT538.U0011.Elements.Add((SwiftDefinitionElement) MT538.U0013);
      MT538.U0008.Elements.Add((SwiftDefinitionElement) MT538.U0011);
      MT538.U0002.Elements.Add((SwiftDefinitionElement) MT538.U0008);
      MT538.U0014 = new SwiftTagDefinition("Reference_A_20C", "Sender’s Reference");
      MT538.U0014.TagName = ":20C::";
      MT538.U0015 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U0014.Elements.Add((SwiftDefinitionElement) MT538.U0015);
      MT538.U0016 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT538.U0014.Elements.Add((SwiftDefinitionElement) MT538.U0016);
      MT538.U0002.Elements.Add((SwiftDefinitionElement) MT538.U0014);
      MT538.U0017 = new SwiftTagDefinition("FunctionOfTheMessage_A_23G", "Function of the Message");
      MT538.U0017.TagName = ":23G:";
      MT538.U0018 = new SwiftTagSubItemDefinition("Function", "Function");
      MT538.U0017.Elements.Add((SwiftDefinitionElement) MT538.U0018);
      MT538.U0019 = new SwiftTagSubItemDefinition("Subfunction", "Subfunction");
      MT538.U0019.Mandatory = false;
      MT538.U001A = new SwiftTagSubItemDefinition("Subfunction_1", "Subfunction");
      MT538.U0019.Elements.Add((SwiftDefinitionElement) MT538.U001A);
      MT538.U0017.Elements.Add((SwiftDefinitionElement) MT538.U0019);
      MT538.U0002.Elements.Add((SwiftDefinitionElement) MT538.U0017);
      MT538.U001B = new SwiftTagChoiceDefinition("Choice", "");
      MT538.U001B.Mandatory = false;
      MT538.U001B.Multiple = true;
      MT538.U001C = new SwiftTagDefinition("Date_A_98A", "Preparation Date");
      MT538.U001C.TagName = ":98A::";
      MT538.U001D = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U001C.Elements.Add((SwiftDefinitionElement) MT538.U001D);
      MT538.U001E = new SwiftTagSubItemDefinition("Date", "Date");
      MT538.U001C.Elements.Add((SwiftDefinitionElement) MT538.U001E);
      MT538.U001B.Elements.Add((SwiftDefinitionElement) MT538.U001C);
      MT538.U001F = new SwiftTagDefinition("DateTime_A_98C", "Preparation Date/Time");
      MT538.U001F.TagName = ":98C::";
      MT538.U007F = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U001F.Elements.Add((SwiftDefinitionElement) MT538.U007F);
      MT538.U0080 = new SwiftTagSubItemDefinition("DateTime", "Date/Time");
      MT538.U0081 = new SwiftTagSubItemDefinition("Date", "Date");
      MT538.U0080.Elements.Add((SwiftDefinitionElement) MT538.U0081);
      MT538.U0082 = new SwiftTagSubItemDefinition("Time", "Time");
      MT538.U0080.Elements.Add((SwiftDefinitionElement) MT538.U0082);
      MT538.U001F.Elements.Add((SwiftDefinitionElement) MT538.U0080);
      MT538.U001B.Elements.Add((SwiftDefinitionElement) MT538.U001F);
      MT538.U0083 = new SwiftTagDefinition("DateTime_A_98E", "Trade Date/Time");
      MT538.U0083.TagName = ":98E::";
      MT538.U0084 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U0083.Elements.Add((SwiftDefinitionElement) MT538.U0084);
      MT538.U0086 = new SwiftTagSubItemDefinition("DateTimeDecimalsAndUTCIndicator", "Trade Date/Time");
      MT538.U0087 = new SwiftTagSubItemDefinition("DateTimeDecimals", "Trade Date/Time");
      MT538.U0088 = new SwiftTagSubItemDefinition("DateTime", "Date\\Time");
      MT538.U0089 = new SwiftTagSubItemDefinition("Date", "Date");
      MT538.U0088.Elements.Add((SwiftDefinitionElement) MT538.U0089);
      MT538.U008A = new SwiftTagSubItemDefinition("Time", "Time");
      MT538.U0088.Elements.Add((SwiftDefinitionElement) MT538.U008A);
      MT538.U0087.Elements.Add((SwiftDefinitionElement) MT538.U0088);
      MT538.U008B = new SwiftTagSubItemDefinition("Decimals", "Time");
      MT538.U008B.Mandatory = false;
      MT538.U0087.Elements.Add((SwiftDefinitionElement) MT538.U008B);
      MT538.U0086.Elements.Add((SwiftDefinitionElement) MT538.U0087);
      MT538.U008C = new SwiftTagSubItemDefinition("UTCIndicatorRecord", "Date\\Time");
      MT538.U008C.Mandatory = false;
      MT538.U008D = new SwiftTagSubItemDefinition("UTCIndicator", "Indicator");
      MT538.U008C.Elements.Add((SwiftDefinitionElement) MT538.U008D);
      MT538.U0086.Elements.Add((SwiftDefinitionElement) MT538.U008C);
      MT538.U0083.Elements.Add((SwiftDefinitionElement) MT538.U0086);
      MT538.U001B.Elements.Add((SwiftDefinitionElement) MT538.U0083);
      MT538.U0002.Elements.Add((SwiftDefinitionElement) MT538.U001B);
      MT538.U008E = new SwiftTagChoiceDefinition("Choice", "");
      MT538.U008E.Multiple = true;
      MT538.U008F = new SwiftTagDefinition("Period_A_69A", "Statement Period");
      MT538.U008F.TagName = ":69A::";
      MT538.U0090 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U008F.Elements.Add((SwiftDefinitionElement) MT538.U0090);
      MT538.U0091 = new SwiftTagSubItemDefinition("Period", "Period");
      MT538.U0092 = new SwiftTagSubItemDefinition("Date1", "Date");
      MT538.U0091.Elements.Add((SwiftDefinitionElement) MT538.U0092);
      MT538.U0093 = new SwiftTagSubItemDefinition("Date2", "Date");
      MT538.U0091.Elements.Add((SwiftDefinitionElement) MT538.U0093);
      MT538.U008F.Elements.Add((SwiftDefinitionElement) MT538.U0091);
      MT538.U008E.Elements.Add((SwiftDefinitionElement) MT538.U008F);
      MT538.U0094 = new SwiftTagDefinition("Period_A_69B", "Statement Period");
      MT538.U0094.TagName = ":69B::";
      MT538.U0095 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U0094.Elements.Add((SwiftDefinitionElement) MT538.U0095);
      MT538.U0096 = new SwiftTagSubItemDefinition("Period", "Period");
      MT538.U0097 = new SwiftTagSubItemDefinition("DateTime_1", "Date/Time");
      MT538.U0098 = new SwiftTagSubItemDefinition("Date", "Date");
      MT538.U0097.Elements.Add((SwiftDefinitionElement) MT538.U0098);
      MT538.U0099 = new SwiftTagSubItemDefinition("Time", "Time");
      MT538.U0097.Elements.Add((SwiftDefinitionElement) MT538.U0099);
      MT538.U0096.Elements.Add((SwiftDefinitionElement) MT538.U0097);
      MT538.U009A = new SwiftTagSubItemDefinition("DateTime_2", "Date/Time");
      MT538.U009B = new SwiftTagSubItemDefinition("Date", "Date");
      MT538.U009A.Elements.Add((SwiftDefinitionElement) MT538.U009B);
      MT538.U009C = new SwiftTagSubItemDefinition("Time", "Time");
      MT538.U009A.Elements.Add((SwiftDefinitionElement) MT538.U009C);
      MT538.U0096.Elements.Add((SwiftDefinitionElement) MT538.U009A);
      MT538.U0094.Elements.Add((SwiftDefinitionElement) MT538.U0096);
      MT538.U008E.Elements.Add((SwiftDefinitionElement) MT538.U0094);
      MT538.U0002.Elements.Add((SwiftDefinitionElement) MT538.U008E);
      MT538.U009D = new SwiftTagDefinition("Indicator_A_22F", "Indicator");
      MT538.U009D.TagName = ":22F::";
      MT538.U009D.Mandatory = false;
      MT538.U009D.Multiple = true;
      MT538.U009E = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U009D.Elements.Add((SwiftDefinitionElement) MT538.U009E);
      MT538.U009F = new SwiftTagSubItemDefinition("DataSource", "DataSourceScheme");
      MT538.U009D.Elements.Add((SwiftDefinitionElement) MT538.U009F);
      MT538.U0001U0002 = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT538.U009D.Elements.Add((SwiftDefinitionElement) MT538.U0001U0002);
      MT538.U0002.Elements.Add((SwiftDefinitionElement) MT538.U009D);
      MT538.U0002U0002 = new SwiftTagSequenceDefinition("SequenceA1", "Linkages");
      MT538.U0002U0002.Mandatory = false;
      MT538.U0002U0002.Multiple = true;
      MT538.U0003U0002 = new SwiftTagDefinition("StartOfBlock_A1_16R", "Start of Block");
      MT538.U0003U0002.TagName = ":16R:LINK";
      MT538.U0004U0002 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block ");
      MT538.U0004U0002.Mandatory = false;
      MT538.U0003U0002.Elements.Add((SwiftDefinitionElement) MT538.U0004U0002);
      MT538.U0002U0002.Elements.Add((SwiftDefinitionElement) MT538.U0003U0002);
      MT538.U0005U0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT538.U0005U0002.Mandatory = false;
      MT538.U0005U0002.Multiple = true;
      MT538.U0006U0002 = new SwiftTagDefinition("NumberIdentification_A1_13A", "Linked Message");
      MT538.U0006U0002.TagName = ":13A::";
      MT538.U0007U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U0006U0002.Elements.Add((SwiftDefinitionElement) MT538.U0007U0002);
      MT538.U0008U0002 = new SwiftTagSubItemDefinition("NumberId", "Number Id");
      MT538.U0006U0002.Elements.Add((SwiftDefinitionElement) MT538.U0008U0002);
      MT538.U0005U0002.Elements.Add((SwiftDefinitionElement) MT538.U0006U0002);
      MT538.U000EU0002 = new SwiftTagDefinition("NumberIdentification_A1_13B", "Linked Message");
      MT538.U000EU0002.TagName = ":13B::";
      MT538.U000FU0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U000EU0002.Elements.Add((SwiftDefinitionElement) MT538.U000FU0002);
      MT538.U0010U0002 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT538.U000EU0002.Elements.Add((SwiftDefinitionElement) MT538.U0010U0002);
      MT538.U0011U0002 = new SwiftTagSubItemDefinition("Number_13B", "Number");
      MT538.U000EU0002.Elements.Add((SwiftDefinitionElement) MT538.U0011U0002);
      MT538.U0005U0002.Elements.Add((SwiftDefinitionElement) MT538.U000EU0002);
      MT538.U0002U0002.Elements.Add((SwiftDefinitionElement) MT538.U0005U0002);
      MT538.U0012U0002 = new SwiftTagDefinition("Reference_A1_20C", "Reference");
      MT538.U0012U0002.TagName = ":20C::";
      MT538.U0013U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U0012U0002.Elements.Add((SwiftDefinitionElement) MT538.U0013U0002);
      MT538.U0014U0002 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT538.U0012U0002.Elements.Add((SwiftDefinitionElement) MT538.U0014U0002);
      MT538.U0002U0002.Elements.Add((SwiftDefinitionElement) MT538.U0012U0002);
      MT538.U0015U0002 = new SwiftTagDefinition("EndOfBlock_A1_16S", "End of Block");
      MT538.U0015U0002.TagName = ":16S:LINK";
      MT538.U0016U0002 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT538.U0016U0002.Mandatory = false;
      MT538.U0015U0002.Elements.Add((SwiftDefinitionElement) MT538.U0016U0002);
      MT538.U0002U0002.Elements.Add((SwiftDefinitionElement) MT538.U0015U0002);
      MT538.U0002.Elements.Add((SwiftDefinitionElement) MT538.U0002U0002);
      MT538.U0017U0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT538.U0017U0002.Mandatory = false;
      MT538.U0017U0002.Multiple = true;
      MT538.U0018U0002 = new SwiftTagDefinition("Party_A_95P", "Account Owner");
      MT538.U0018U0002.TagName = ":95P::";
      MT538.U0019U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U0018U0002.Elements.Add((SwiftDefinitionElement) MT538.U0019U0002);
      MT538.U001AU0002 = new SwiftTagSubItemDefinition("BankIdentifier", "Bank Identifier Code");
      MT538.U0018U0002.Elements.Add((SwiftDefinitionElement) MT538.U001AU0002);
      MT538.U0017U0002.Elements.Add((SwiftDefinitionElement) MT538.U0018U0002);
      MT538.U001BU0002 = new SwiftTagDefinition("Party_A_95R", "Account Owner");
      MT538.U001BU0002.TagName = ":95R::";
      MT538.U001CU0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U001BU0002.Elements.Add((SwiftDefinitionElement) MT538.U001CU0002);
      MT538.U001DU0002 = new SwiftTagSubItemDefinition("DataSourceSchemeType", "Data Source Scheme with a maximum of 8 characters");
      MT538.U001BU0002.Elements.Add((SwiftDefinitionElement) MT538.U001DU0002);
      MT538.U001EU0002 = new SwiftTagSubItemDefinition("ProprietaryCodeType", "Proprietary Code Type");
      MT538.U001BU0002.Elements.Add((SwiftDefinitionElement) MT538.U001EU0002);
      MT538.U0017U0002.Elements.Add((SwiftDefinitionElement) MT538.U001BU0002);
      MT538.U0002.Elements.Add((SwiftDefinitionElement) MT538.U0017U0002);
      MT538.U001FU0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT538.U001FU0002.Multiple = true;
      MT538.U007FU0002 = new SwiftTagDefinition("Account_A_97A", "Safekeeping Account");
      MT538.U007FU0002.TagName = ":97A::";
      MT538.U0080U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U007FU0002.Elements.Add((SwiftDefinitionElement) MT538.U0080U0002);
      MT538.U0081U0002 = new SwiftTagSubItemDefinition("AccountNumber", "Account Number");
      MT538.U007FU0002.Elements.Add((SwiftDefinitionElement) MT538.U0081U0002);
      MT538.U001FU0002.Elements.Add((SwiftDefinitionElement) MT538.U007FU0002);
      MT538.U0082U0002 = new SwiftTagDefinition("Account_A_97B", "Safekeeping Account");
      MT538.U0082U0002.TagName = ":97B::";
      MT538.U0083U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U0082U0002.Elements.Add((SwiftDefinitionElement) MT538.U0083U0002);
      MT538.U0084U0002 = new SwiftTagSubItemDefinition("DataSource", "DataSourceScheme");
      MT538.U0082U0002.Elements.Add((SwiftDefinitionElement) MT538.U0084U0002);
      MT538.U0086U0002 = new SwiftTagSubItemDefinition("AccountTypeCode", "Account Type Code");
      MT538.U0082U0002.Elements.Add((SwiftDefinitionElement) MT538.U0086U0002);
      MT538.U0087U0002 = new SwiftTagSubItemDefinition("AccountNumber", "Account Number");
      MT538.U0082U0002.Elements.Add((SwiftDefinitionElement) MT538.U0087U0002);
      MT538.U001FU0002.Elements.Add((SwiftDefinitionElement) MT538.U0082U0002);
      MT538.U0002.Elements.Add((SwiftDefinitionElement) MT538.U001FU0002);
      MT538.U0088U0002 = new SwiftTagDefinition("Flag_A_17B", "Activity Flag");
      MT538.U0088U0002.TagName = ":17B::";
      MT538.U0089U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U0088U0002.Elements.Add((SwiftDefinitionElement) MT538.U0089U0002);
      MT538.U008AU0002 = new SwiftTagSubItemDefinition("Flag", "Flag");
      MT538.U0088U0002.Elements.Add((SwiftDefinitionElement) MT538.U008AU0002);
      MT538.U0002.Elements.Add((SwiftDefinitionElement) MT538.U0088U0002);
      MT538.U008BU0002 = new SwiftTagDefinition("EndOfBlock_A_16S", "End of Block");
      MT538.U008BU0002.TagName = ":16S:GENL";
      MT538.U008CU0002 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT538.U008CU0002.Mandatory = false;
      MT538.U008BU0002.Elements.Add((SwiftDefinitionElement) MT538.U008CU0002);
      MT538.U0002.Elements.Add((SwiftDefinitionElement) MT538.U008BU0002);
      MT538.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT538.U0002);
      MT538.U008DU0002 = new SwiftTagSequenceDefinition("SequenceB", "Financial Instrument");
      MT538.U008DU0002.Mandatory = false;
      MT538.U008DU0002.Multiple = true;
      MT538.U008EU0002 = new SwiftTagDefinition("StartOfBlock_B_16R", "Start of Block");
      MT538.U008EU0002.TagName = ":16R:FIN";
      MT538.U008FU0002 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block ");
      MT538.U008FU0002.Mandatory = false;
      MT538.U008EU0002.Elements.Add((SwiftDefinitionElement) MT538.U008FU0002);
      MT538.U008DU0002.Elements.Add((SwiftDefinitionElement) MT538.U008EU0002);
      MT538.U0090U0002 = new SwiftTagDefinition("IdentificationOfFinancialInstrument_B_35B", "Identification of the Financial Instrument");
      MT538.U0090U0002.TagName = ":35B:";
      MT538.U0091U0002 = new SwiftTagSubItemDefinition("IdentificationOfSecurity", "Identification of Security");
      MT538.U0091U0002.Mandatory = false;
      MT538.U0092U0002 = new SwiftTagSubItemDefinition("IdentificationOfSecurity_1", "Identification of Security");
      MT538.U0091U0002.Elements.Add((SwiftDefinitionElement) MT538.U0092U0002);
      MT538.U0090U0002.Elements.Add((SwiftDefinitionElement) MT538.U0091U0002);
      MT538.U0093U0002 = new SwiftTagSubItemDefinition("DescriptionOfSecurity", "Description of Security");
      MT538.U0093U0002.Mandatory = false;
      MT538.U0090U0002.Elements.Add((SwiftDefinitionElement) MT538.U0093U0002);
      MT538.U008DU0002.Elements.Add((SwiftDefinitionElement) MT538.U0090U0002);
      MT538.U0094U0002 = new SwiftTagSequenceDefinition("SequenceB1", "Sub-safekeeping Account");
      MT538.U0094U0002.Mandatory = false;
      MT538.U0094U0002.Multiple = true;
      MT538.U0095U0002 = new SwiftTagDefinition("StartOfBlock_B1_16R", "Start of Block");
      MT538.U0095U0002.TagName = ":16R:FIA";
      MT538.U0096U0002 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block ");
      MT538.U0096U0002.Mandatory = false;
      MT538.U0095U0002.Elements.Add((SwiftDefinitionElement) MT538.U0096U0002);
      MT538.U0094U0002.Elements.Add((SwiftDefinitionElement) MT538.U0095U0002);
      MT538.U0097U0002 = new SwiftTagDefinition("Place_B1_94B", "Place of Listing");
      MT538.U0097U0002.TagName = ":94B::";
      MT538.U0097U0002.Mandatory = false;
      MT538.U0098U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U0097U0002.Elements.Add((SwiftDefinitionElement) MT538.U0098U0002);
      MT538.U0099U0002 = new SwiftTagSubItemDefinition("DataSource", "Data Source");
      MT538.U0097U0002.Elements.Add((SwiftDefinitionElement) MT538.U0099U0002);
      MT538.U009AU0002 = new SwiftTagSubItemDefinition("PlaceCode", "Place Code");
      MT538.U0097U0002.Elements.Add((SwiftDefinitionElement) MT538.U009AU0002);
      MT538.U009BU0002 = new SwiftTagSubItemDefinition("Narrative", "Narrative");
      MT538.U009BU0002.Mandatory = false;
      MT538.U009CU0002 = new SwiftTagSubItemDefinition("Narrative_94B", "Narrative");
      MT538.U009BU0002.Elements.Add((SwiftDefinitionElement) MT538.U009CU0002);
      MT538.U0097U0002.Elements.Add((SwiftDefinitionElement) MT538.U009BU0002);
      MT538.U0094U0002.Elements.Add((SwiftDefinitionElement) MT538.U0097U0002);
      MT538.U009DU0002 = new SwiftTagDefinition("Indicator_B1_22F", "Indicator");
      MT538.U009DU0002.TagName = ":22F::";
      MT538.U009DU0002.Mandatory = false;
      MT538.U009DU0002.Multiple = true;
      MT538.U009EU0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U009DU0002.Elements.Add((SwiftDefinitionElement) MT538.U009EU0002);
      MT538.U009FU0002 = new SwiftTagSubItemDefinition("DataSource", "DataSource");
      MT538.U009DU0002.Elements.Add((SwiftDefinitionElement) MT538.U009FU0002);
      MT538.U0001U0003 = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT538.U009DU0002.Elements.Add((SwiftDefinitionElement) MT538.U0001U0003);
      MT538.U0094U0002.Elements.Add((SwiftDefinitionElement) MT538.U009DU0002);
      MT538.U0002U0003 = new SwiftTagChoiceDefinition("Choice", "");
      MT538.U0002U0003.Mandatory = false;
      MT538.U0002U0003.Multiple = true;
      MT538.U0003U0003 = new SwiftTagDefinition("TypeOfFinancialInstrument_B1_12A", "Type of Financial Instrument");
      MT538.U0003U0003.TagName = ":12A::";
      MT538.U0003U0003.Multiple = true;
      MT538.U0004U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U0003U0003.Elements.Add((SwiftDefinitionElement) MT538.U0004U0003);
      MT538.U0005U0003 = new SwiftTagSubItemDefinition("DataSource", "DataSource");
      MT538.U0003U0003.Elements.Add((SwiftDefinitionElement) MT538.U0005U0003);
      MT538.U0006U0003 = new SwiftTagSubItemDefinition("InstrumentCode", "InstrumentCode");
      MT538.U0003U0003.Elements.Add((SwiftDefinitionElement) MT538.U0006U0003);
      MT538.U0002U0003.Elements.Add((SwiftDefinitionElement) MT538.U0003U0003);
      MT538.U0007U0003 = new SwiftTagDefinition("TypeOfFinancialInstrument_B1_12C", "Type of Financial Instrument");
      MT538.U0007U0003.TagName = ":12C::";
      MT538.U0007U0003.Multiple = true;
      MT538.U0008U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U0007U0003.Elements.Add((SwiftDefinitionElement) MT538.U0008U0003);
      MT538.U000EU0003 = new SwiftTagSubItemDefinition("CFICode", "CFI Code");
      MT538.U0007U0003.Elements.Add((SwiftDefinitionElement) MT538.U000EU0003);
      MT538.U0002U0003.Elements.Add((SwiftDefinitionElement) MT538.U0007U0003);
      MT538.U000FU0003 = new SwiftTagDefinition("TypeOfFinancialInstrument_B1_12B", "Type of Financial Instrument");
      MT538.U000FU0003.TagName = ":12B::";
      MT538.U000FU0003.Multiple = true;
      MT538.U0010U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U000FU0003.Elements.Add((SwiftDefinitionElement) MT538.U0010U0003);
      MT538.U0011U0003 = new SwiftTagSubItemDefinition("DataSource", "DataSource");
      MT538.U000FU0003.Elements.Add((SwiftDefinitionElement) MT538.U0011U0003);
      MT538.U0012U0003 = new SwiftTagSubItemDefinition("InstrumentTypeCode", "Instrument Type Code");
      MT538.U000FU0003.Elements.Add((SwiftDefinitionElement) MT538.U0012U0003);
      MT538.U0002U0003.Elements.Add((SwiftDefinitionElement) MT538.U000FU0003);
      MT538.U0094U0002.Elements.Add((SwiftDefinitionElement) MT538.U0002U0003);
      MT538.U0013U0003 = new SwiftTagDefinition("CurrencyOfDenomination_B1_11A", "Currency Of Denomination");
      MT538.U0013U0003.TagName = ":11A::";
      MT538.U0013U0003.Mandatory = false;
      MT538.U0013U0003.Multiple = true;
      MT538.U0014U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U0013U0003.Elements.Add((SwiftDefinitionElement) MT538.U0014U0003);
      MT538.U0015U0003 = new SwiftTagSubItemDefinition("CurrencyCode", "Currency Code");
      MT538.U0013U0003.Elements.Add((SwiftDefinitionElement) MT538.U0015U0003);
      MT538.U0094U0002.Elements.Add((SwiftDefinitionElement) MT538.U0013U0003);
      MT538.U0016U0003 = new SwiftTagDefinition("Date_B1_98A", "Date");
      MT538.U0016U0003.TagName = ":98A::";
      MT538.U0016U0003.Mandatory = false;
      MT538.U0016U0003.Multiple = true;
      MT538.U0017U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U0016U0003.Elements.Add((SwiftDefinitionElement) MT538.U0017U0003);
      MT538.U0018U0003 = new SwiftTagSubItemDefinition("Date", "Date");
      MT538.U0016U0003.Elements.Add((SwiftDefinitionElement) MT538.U0018U0003);
      MT538.U0094U0002.Elements.Add((SwiftDefinitionElement) MT538.U0016U0003);
      MT538.U0019U0003 = new SwiftTagDefinition("Rate_B1_92A", "Rate");
      MT538.U0019U0003.TagName = ":92A::";
      MT538.U0019U0003.Mandatory = false;
      MT538.U0019U0003.Multiple = true;
      MT538.U001AU0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U0019U0003.Elements.Add((SwiftDefinitionElement) MT538.U001AU0003);
      MT538.U001BU0003 = new SwiftTagSubItemDefinition("SignRate", "Sign, Rate");
      MT538.U0019U0003.Elements.Add((SwiftDefinitionElement) MT538.U001BU0003);
      MT538.U0094U0002.Elements.Add((SwiftDefinitionElement) MT538.U0019U0003);
      MT538.U001CU0003 = new SwiftTagChoiceDefinition("Choice", "");
      MT538.U001CU0003.Mandatory = false;
      MT538.U001CU0003.Multiple = true;
      MT538.U001DU0003 = new SwiftTagDefinition("NumberIdentification_B1_13A", "Number Identification");
      MT538.U001DU0003.TagName = ":13A::";
      MT538.U001DU0003.Multiple = true;
      MT538.U001EU0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U001DU0003.Elements.Add((SwiftDefinitionElement) MT538.U001EU0003);
      MT538.U001FU0003 = new SwiftTagSubItemDefinition("NumberId", "Number ID");
      MT538.U001DU0003.Elements.Add((SwiftDefinitionElement) MT538.U001FU0003);
      MT538.U001CU0003.Elements.Add((SwiftDefinitionElement) MT538.U001DU0003);
      MT538.U007FU0003 = new SwiftTagDefinition("NumberIdentification_B1_13B", "Number Identification");
      MT538.U007FU0003.TagName = ":13B::";
      MT538.U007FU0003.Multiple = true;
      MT538.U0080U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U007FU0003.Elements.Add((SwiftDefinitionElement) MT538.U0080U0003);
      MT538.U0081U0003 = new SwiftTagSubItemDefinition("DataSource", "DataSource");
      MT538.U007FU0003.Elements.Add((SwiftDefinitionElement) MT538.U0081U0003);
      MT538.U0082U0003 = new SwiftTagSubItemDefinition("Number_13B", "Number");
      MT538.U007FU0003.Elements.Add((SwiftDefinitionElement) MT538.U0082U0003);
      MT538.U001CU0003.Elements.Add((SwiftDefinitionElement) MT538.U007FU0003);
      MT538.U0083U0003 = new SwiftTagDefinition("NumberIdentification_B1_13K", "Number Identification");
      MT538.U0083U0003.TagName = ":13K::";
      MT538.U0083U0003.Multiple = true;
      MT538.U0084U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U0083U0003.Elements.Add((SwiftDefinitionElement) MT538.U0084U0003);
      MT538.U0086U0003 = new SwiftTagSubItemDefinition("NumberIdentification", "NumberId, Quantity");
      MT538.U0087U0003 = new SwiftTagSubItemDefinition("NumberId", "Number ID");
      MT538.U0086U0003.Elements.Add((SwiftDefinitionElement) MT538.U0087U0003);
      MT538.U0088U0003 = new SwiftTagSubItemDefinition("Quantity", "Quantity");
      MT538.U0086U0003.Elements.Add((SwiftDefinitionElement) MT538.U0088U0003);
      MT538.U0083U0003.Elements.Add((SwiftDefinitionElement) MT538.U0086U0003);
      MT538.U001CU0003.Elements.Add((SwiftDefinitionElement) MT538.U0083U0003);
      MT538.U0094U0002.Elements.Add((SwiftDefinitionElement) MT538.U001CU0003);
      MT538.U0089U0003 = new SwiftTagDefinition("Flag_B1_17B", "Flag");
      MT538.U0089U0003.TagName = ":17B::";
      MT538.U0089U0003.Mandatory = false;
      MT538.U0089U0003.Multiple = true;
      MT538.U008AU0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U0089U0003.Elements.Add((SwiftDefinitionElement) MT538.U008AU0003);
      MT538.U008BU0003 = new SwiftTagSubItemDefinition("Flag", "Flag");
      MT538.U0089U0003.Elements.Add((SwiftDefinitionElement) MT538.U008BU0003);
      MT538.U0094U0002.Elements.Add((SwiftDefinitionElement) MT538.U0089U0003);
      MT538.U008CU0003 = new SwiftTagChoiceDefinition("Choice", "");
      MT538.U008CU0003.Mandatory = false;
      MT538.U008CU0003.Multiple = true;
      MT538.U008DU0003 = new SwiftTagDefinition("Price_B1_90A", "Price");
      MT538.U008DU0003.TagName = ":90A::";
      MT538.U008DU0003.Multiple = true;
      MT538.U008EU0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U008DU0003.Elements.Add((SwiftDefinitionElement) MT538.U008EU0003);
      MT538.U008FU0003 = new SwiftTagSubItemDefinition("Price", "Price");
      MT538.U0090U0003 = new SwiftTagSubItemDefinition("PercentageTypeCode", "Percentage Type Code");
      MT538.U008FU0003.Elements.Add((SwiftDefinitionElement) MT538.U0090U0003);
      MT538.U0091U0003 = new SwiftTagSubItemDefinition("Price_1", "Price");
      MT538.U008FU0003.Elements.Add((SwiftDefinitionElement) MT538.U0091U0003);
      MT538.U008DU0003.Elements.Add((SwiftDefinitionElement) MT538.U008FU0003);
      MT538.U008CU0003.Elements.Add((SwiftDefinitionElement) MT538.U008DU0003);
      MT538.U0092U0003 = new SwiftTagDefinition("Price_B1_90B", "Deal Price");
      MT538.U0092U0003.TagName = ":90B::";
      MT538.U0092U0003.Multiple = true;
      MT538.U0093U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U0092U0003.Elements.Add((SwiftDefinitionElement) MT538.U0093U0003);
      MT538.U0094U0003 = new SwiftTagSubItemDefinition("Price", "Deal Price");
      MT538.U0095U0003 = new SwiftTagSubItemDefinition("AmountTypeCode", "Amount Type Code");
      MT538.U0094U0003.Elements.Add((SwiftDefinitionElement) MT538.U0095U0003);
      MT538.U0096U0003 = new SwiftTagSubItemDefinition("CurrencyCodeAndPrice", "Currency Code, Price");
      MT538.U0097U0003 = new SwiftTagSubItemDefinition("CurrencyCode", "Currency Code");
      MT538.U0096U0003.Elements.Add((SwiftDefinitionElement) MT538.U0097U0003);
      MT538.U0098U0003 = new SwiftTagSubItemDefinition("Price", "Price");
      MT538.U0096U0003.Elements.Add((SwiftDefinitionElement) MT538.U0098U0003);
      MT538.U0094U0003.Elements.Add((SwiftDefinitionElement) MT538.U0096U0003);
      MT538.U0092U0003.Elements.Add((SwiftDefinitionElement) MT538.U0094U0003);
      MT538.U008CU0003.Elements.Add((SwiftDefinitionElement) MT538.U0092U0003);
      MT538.U0094U0002.Elements.Add((SwiftDefinitionElement) MT538.U008CU0003);
      MT538.U0099U0003 = new SwiftTagDefinition("QuantityOfFinancialInstrument_B1_36B", "Quantity Of Financial Instrument");
      MT538.U0099U0003.TagName = ":36B::";
      MT538.U0099U0003.Mandatory = false;
      MT538.U0099U0003.Multiple = true;
      MT538.U009AU0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U0099U0003.Elements.Add((SwiftDefinitionElement) MT538.U009AU0003);
      MT538.U009BU0003 = new SwiftTagSubItemDefinition("QuantityOfFinancialInstrument", "Quantity Of Financial Instrument");
      MT538.U009CU0003 = new SwiftTagSubItemDefinition("QuantityTypeCode", "Quantity Type Code");
      MT538.U009BU0003.Elements.Add((SwiftDefinitionElement) MT538.U009CU0003);
      MT538.U009DU0003 = new SwiftTagSubItemDefinition("Quantity", "Quantity");
      MT538.U009BU0003.Elements.Add((SwiftDefinitionElement) MT538.U009DU0003);
      MT538.U0099U0003.Elements.Add((SwiftDefinitionElement) MT538.U009BU0003);
      MT538.U0094U0002.Elements.Add((SwiftDefinitionElement) MT538.U0099U0003);
      MT538.U009EU0003 = new SwiftTagDefinition("IdentificationOfFinancialInstrument_B1_35B", "Identification of the Financial Instrument");
      MT538.U009EU0003.TagName = ":35B:";
      MT538.U009EU0003.Mandatory = false;
      MT538.U009EU0003.Multiple = true;
      MT538.U009FU0003 = new SwiftTagSubItemDefinition("IdentificationOfSecurity", "Identification of Security");
      MT538.U009FU0003.Mandatory = false;
      MT538.U0001U0004 = new SwiftTagSubItemDefinition("IdentificationOfSecurity_1", "Identification of Security");
      MT538.U009FU0003.Elements.Add((SwiftDefinitionElement) MT538.U0001U0004);
      MT538.U009EU0003.Elements.Add((SwiftDefinitionElement) MT538.U009FU0003);
      MT538.U0002U0004 = new SwiftTagSubItemDefinition("DescriptionOfSecurity", "Description of Security");
      MT538.U0002U0004.Mandatory = false;
      MT538.U009EU0003.Elements.Add((SwiftDefinitionElement) MT538.U0002U0004);
      MT538.U0094U0002.Elements.Add((SwiftDefinitionElement) MT538.U009EU0003);
      MT538.U0003U0004 = new SwiftTagDefinition("Narrative_B1_70E", "Financial Instrument Attribute Narrative");
      MT538.U0003U0004.TagName = ":70E::";
      MT538.U0003U0004.Mandatory = false;
      MT538.U0004U0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U0003U0004.Elements.Add((SwiftDefinitionElement) MT538.U0004U0004);
      MT538.U0005U0004 = new SwiftTagSubItemDefinition("Narrative", "Narrative");
      MT538.U0003U0004.Elements.Add((SwiftDefinitionElement) MT538.U0005U0004);
      MT538.U0094U0002.Elements.Add((SwiftDefinitionElement) MT538.U0003U0004);
      MT538.U0006U0004 = new SwiftTagDefinition("EndOfBlock_B1_16S", "End Of Block");
      MT538.U0006U0004.TagName = ":16S:FIA";
      MT538.U0007U0004 = new SwiftTagSubItemDefinition("EndOfBlock", "End OF Block");
      MT538.U0007U0004.Mandatory = false;
      MT538.U0006U0004.Elements.Add((SwiftDefinitionElement) MT538.U0007U0004);
      MT538.U0094U0002.Elements.Add((SwiftDefinitionElement) MT538.U0006U0004);
      MT538.U008DU0002.Elements.Add((SwiftDefinitionElement) MT538.U0094U0002);
      MT538.U0008U0004 = new SwiftTagSequenceDefinition("SequenceB2", "Sub-Balance");
      MT538.U0008U0004.Multiple = true;
      MT538.U000EU0004 = new SwiftTagDefinition("StartOfBlock_B2_16R", "Start of Block");
      MT538.U000EU0004.TagName = ":16R:SUBBAL";
      MT538.U000FU0004 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block ");
      MT538.U000FU0004.Mandatory = false;
      MT538.U000EU0004.Elements.Add((SwiftDefinitionElement) MT538.U000FU0004);
      MT538.U0008U0004.Elements.Add((SwiftDefinitionElement) MT538.U000EU0004);
      MT538.U0010U0004 = new SwiftTagChoiceDefinition("Choice", "");
      MT538.U0010U0004.Mandatory = false;
      MT538.U0010U0004.Multiple = true;
      MT538.U0011U0004 = new SwiftTagDefinition("Place_B2_94B", "Place of Trade");
      MT538.U0011U0004.TagName = ":94B::";
      MT538.U0011U0004.Mandatory = false;
      MT538.U0012U0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U0011U0004.Elements.Add((SwiftDefinitionElement) MT538.U0012U0004);
      MT538.U0013U0004 = new SwiftTagSubItemDefinition("DataSource", "Data Source");
      MT538.U0011U0004.Elements.Add((SwiftDefinitionElement) MT538.U0013U0004);
      MT538.U0014U0004 = new SwiftTagSubItemDefinition("PlaceCode", "Place Code");
      MT538.U0011U0004.Elements.Add((SwiftDefinitionElement) MT538.U0014U0004);
      MT538.U0015U0004 = new SwiftTagSubItemDefinition("Narrative", "Narrative");
      MT538.U0015U0004.Mandatory = false;
      MT538.U0016U0004 = new SwiftTagSubItemDefinition("Narrative_94B", "Narrative");
      MT538.U0015U0004.Elements.Add((SwiftDefinitionElement) MT538.U0016U0004);
      MT538.U0011U0004.Elements.Add((SwiftDefinitionElement) MT538.U0015U0004);
      MT538.U0010U0004.Elements.Add((SwiftDefinitionElement) MT538.U0011U0004);
      MT538.U0017U0004 = new SwiftTagDefinition("Place_B2_94C", "Place of Safekeeping");
      MT538.U0017U0004.TagName = ":94C::";
      MT538.U0018U0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U0017U0004.Elements.Add((SwiftDefinitionElement) MT538.U0018U0004);
      MT538.U0019U0004 = new SwiftTagSubItemDefinition("Country", "Country");
      MT538.U0017U0004.Elements.Add((SwiftDefinitionElement) MT538.U0019U0004);
      MT538.U0010U0004.Elements.Add((SwiftDefinitionElement) MT538.U0017U0004);
      MT538.U001AU0004 = new SwiftTagDefinition("Place_B2_94F", "Place of Safekeeping");
      MT538.U001AU0004.TagName = ":94F::";
      MT538.U001BU0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U001AU0004.Elements.Add((SwiftDefinitionElement) MT538.U001BU0004);
      MT538.U001CU0004 = new SwiftTagSubItemDefinition("Place", "Place");
      MT538.U001DU0004 = new SwiftTagSubItemDefinition("Place_1", "Place");
      MT538.U001CU0004.Elements.Add((SwiftDefinitionElement) MT538.U001DU0004);
      MT538.U001EU0004 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT538.U001CU0004.Elements.Add((SwiftDefinitionElement) MT538.U001EU0004);
      MT538.U001AU0004.Elements.Add((SwiftDefinitionElement) MT538.U001CU0004);
      MT538.U0010U0004.Elements.Add((SwiftDefinitionElement) MT538.U001AU0004);
      MT538.U0008U0004.Elements.Add((SwiftDefinitionElement) MT538.U0010U0004);
      MT538.U001FU0004 = new SwiftTagDefinition("Balance_B2_93A", "Balance From");
      MT538.U001FU0004.TagName = ":93A::";
      MT538.U007FU0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U001FU0004.Elements.Add((SwiftDefinitionElement) MT538.U007FU0004);
      MT538.U0080U0004 = new SwiftTagSubItemDefinition("DataSource", "DataSourceScheme");
      MT538.U001FU0004.Elements.Add((SwiftDefinitionElement) MT538.U0080U0004);
      MT538.U0081U0004 = new SwiftTagSubItemDefinition("SubbalanceTypeCode", "Sub-balance Type Code");
      MT538.U001FU0004.Elements.Add((SwiftDefinitionElement) MT538.U0081U0004);
      MT538.U0008U0004.Elements.Add((SwiftDefinitionElement) MT538.U001FU0004);
      MT538.U0082U0004 = new SwiftTagSequenceDefinition("SequenceB2a", "Intra-Position Movement");
      MT538.U0082U0004.Mandatory = false;
      MT538.U0082U0004.Multiple = true;
      MT538.U0083U0004 = new SwiftTagDefinition("StartOfBlock_B2a_16R", "Start of Block");
      MT538.U0083U0004.TagName = ":16R:INPOS";
      MT538.U0084U0004 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block ");
      MT538.U0084U0004.Mandatory = false;
      MT538.U0083U0004.Elements.Add((SwiftDefinitionElement) MT538.U0084U0004);
      MT538.U0082U0004.Elements.Add((SwiftDefinitionElement) MT538.U0083U0004);
      MT538.U0086U0004 = new SwiftTagSequenceDefinition("SequenceB2a1", "Linkages");
      MT538.U0086U0004.Mandatory = false;
      MT538.U0087U0004 = new SwiftTagDefinition("StartOfBlock_B2a1_16R", "Start of Block");
      MT538.U0087U0004.TagName = ":16R:LINK";
      MT538.U0088U0004 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block ");
      MT538.U0088U0004.Mandatory = false;
      MT538.U0087U0004.Elements.Add((SwiftDefinitionElement) MT538.U0088U0004);
      MT538.U0086U0004.Elements.Add((SwiftDefinitionElement) MT538.U0087U0004);
      MT538.U0089U0004 = new SwiftTagChoiceDefinition("Choice", "");
      MT538.U0089U0004.Mandatory = false;
      MT538.U0089U0004.Multiple = true;
      MT538.U008AU0004 = new SwiftTagDefinition("NumberIdentification_B2a1_13A", "Linked Message");
      MT538.U008AU0004.TagName = ":13A::";
      MT538.U008AU0004.Mandatory = false;
      MT538.U008BU0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U008AU0004.Elements.Add((SwiftDefinitionElement) MT538.U008BU0004);
      MT538.U008CU0004 = new SwiftTagSubItemDefinition("NumberId", "Number Id");
      MT538.U008AU0004.Elements.Add((SwiftDefinitionElement) MT538.U008CU0004);
      MT538.U0089U0004.Elements.Add((SwiftDefinitionElement) MT538.U008AU0004);
      MT538.U008DU0004 = new SwiftTagDefinition("NumberIdentification_B2a1_13B", "Linked Message");
      MT538.U008DU0004.TagName = ":13B::";
      MT538.U008DU0004.Mandatory = false;
      MT538.U008EU0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U008DU0004.Elements.Add((SwiftDefinitionElement) MT538.U008EU0004);
      MT538.U008FU0004 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT538.U008DU0004.Elements.Add((SwiftDefinitionElement) MT538.U008FU0004);
      MT538.U0090U0004 = new SwiftTagSubItemDefinition("Number_13B", "Number");
      MT538.U008DU0004.Elements.Add((SwiftDefinitionElement) MT538.U0090U0004);
      MT538.U0089U0004.Elements.Add((SwiftDefinitionElement) MT538.U008DU0004);
      MT538.U0086U0004.Elements.Add((SwiftDefinitionElement) MT538.U0089U0004);
      MT538.U0091U0004 = new SwiftTagDefinition("Reference_B2a1_20C", "Reference");
      MT538.U0091U0004.TagName = ":20C::";
      MT538.U0092U0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U0091U0004.Elements.Add((SwiftDefinitionElement) MT538.U0092U0004);
      MT538.U0093U0004 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT538.U0091U0004.Elements.Add((SwiftDefinitionElement) MT538.U0093U0004);
      MT538.U0086U0004.Elements.Add((SwiftDefinitionElement) MT538.U0091U0004);
      MT538.U0094U0004 = new SwiftTagDefinition("EndOfBlock_B2a1_16S", "End of Block");
      MT538.U0094U0004.TagName = ":16S:LINK";
      MT538.U0095U0004 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT538.U0095U0004.Mandatory = false;
      MT538.U0094U0004.Elements.Add((SwiftDefinitionElement) MT538.U0095U0004);
      MT538.U0086U0004.Elements.Add((SwiftDefinitionElement) MT538.U0094U0004);
      MT538.U0082U0004.Elements.Add((SwiftDefinitionElement) MT538.U0086U0004);
      MT538.U0096U0004 = new SwiftTagDefinition("QuantityOfFinancialInstrument_B2a_36B", "Quantity of Financial Instrument Settled");
      MT538.U0096U0004.TagName = ":36B::";
      MT538.U0097U0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U0096U0004.Elements.Add((SwiftDefinitionElement) MT538.U0097U0004);
      MT538.U0098U0004 = new SwiftTagSubItemDefinition("QuantityOfFinancialInstrument", "Quantity of Financial Instrument");
      MT538.U0099U0004 = new SwiftTagSubItemDefinition("QuantityTypeCode", "Quantity Type Code");
      MT538.U0098U0004.Elements.Add((SwiftDefinitionElement) MT538.U0099U0004);
      MT538.U009AU0004 = new SwiftTagSubItemDefinition("Quantity", "Quantity");
      MT538.U0098U0004.Elements.Add((SwiftDefinitionElement) MT538.U009AU0004);
      MT538.U0096U0004.Elements.Add((SwiftDefinitionElement) MT538.U0098U0004);
      MT538.U0082U0004.Elements.Add((SwiftDefinitionElement) MT538.U0096U0004);
      MT538.U009BU0004 = new SwiftTagDefinition("Balance_B2a_93A", "Balance To");
      MT538.U009BU0004.TagName = ":93A::";
      MT538.U009CU0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U009BU0004.Elements.Add((SwiftDefinitionElement) MT538.U009CU0004);
      MT538.U009DU0004 = new SwiftTagSubItemDefinition("DataSource", "DataSourceScheme");
      MT538.U009BU0004.Elements.Add((SwiftDefinitionElement) MT538.U009DU0004);
      MT538.U009EU0004 = new SwiftTagSubItemDefinition("SubbalanceTypeCode", "Sub-balance Type Code");
      MT538.U009BU0004.Elements.Add((SwiftDefinitionElement) MT538.U009EU0004);
      MT538.U0082U0004.Elements.Add((SwiftDefinitionElement) MT538.U009BU0004);
      MT538.U009FU0004 = new SwiftTagChoiceDefinition("Choice", "");
      MT538.U009FU0004.Multiple = true;
      MT538.U0001U0005 = new SwiftTagDefinition("Date_B2a_98A", "Price Quotation Date");
      MT538.U0001U0005.TagName = ":98A::";
      MT538.U0001U0005.Multiple = true;
      MT538.U0002U0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U0001U0005.Elements.Add((SwiftDefinitionElement) MT538.U0002U0005);
      MT538.U0003U0005 = new SwiftTagSubItemDefinition("Date", "Date");
      MT538.U0001U0005.Elements.Add((SwiftDefinitionElement) MT538.U0003U0005);
      MT538.U009FU0004.Elements.Add((SwiftDefinitionElement) MT538.U0001U0005);
      MT538.U0004U0005 = new SwiftTagDefinition("DateTime_B2a_98C", "Price Quotation Date/Time");
      MT538.U0004U0005.TagName = ":98C::";
      MT538.U0004U0005.Multiple = true;
      MT538.U0005U0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U0004U0005.Elements.Add((SwiftDefinitionElement) MT538.U0005U0005);
      MT538.U0006U0005 = new SwiftTagSubItemDefinition("DateTime", "Date/Time");
      MT538.U0007U0005 = new SwiftTagSubItemDefinition("Date", "Date");
      MT538.U0006U0005.Elements.Add((SwiftDefinitionElement) MT538.U0007U0005);
      MT538.U0008U0005 = new SwiftTagSubItemDefinition("Time", "Time");
      MT538.U0006U0005.Elements.Add((SwiftDefinitionElement) MT538.U0008U0005);
      MT538.U0004U0005.Elements.Add((SwiftDefinitionElement) MT538.U0006U0005);
      MT538.U009FU0004.Elements.Add((SwiftDefinitionElement) MT538.U0004U0005);
      MT538.U0082U0004.Elements.Add((SwiftDefinitionElement) MT538.U009FU0004);
      MT538.U000EU0005 = new SwiftTagDefinition("Indicator_B2a_22F", "Corporate Action Event Indicator ");
      MT538.U000EU0005.TagName = ":22F::";
      MT538.U000EU0005.Mandatory = false;
      MT538.U000FU0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U000EU0005.Elements.Add((SwiftDefinitionElement) MT538.U000FU0005);
      MT538.U0010U0005 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT538.U000EU0005.Elements.Add((SwiftDefinitionElement) MT538.U0010U0005);
      MT538.U0011U0005 = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT538.U000EU0005.Elements.Add((SwiftDefinitionElement) MT538.U0011U0005);
      MT538.U0082U0004.Elements.Add((SwiftDefinitionElement) MT538.U000EU0005);
      MT538.U0012U0005 = new SwiftTagDefinition("Narrative_B2a_70E", "Settlement Instruction Processing Narrative");
      MT538.U0012U0005.TagName = ":70E::";
      MT538.U0012U0005.Mandatory = false;
      MT538.U0013U0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U0012U0005.Elements.Add((SwiftDefinitionElement) MT538.U0013U0005);
      MT538.U0014U0005 = new SwiftTagSubItemDefinition("Narrative", "Narrative");
      MT538.U0012U0005.Elements.Add((SwiftDefinitionElement) MT538.U0014U0005);
      MT538.U0082U0004.Elements.Add((SwiftDefinitionElement) MT538.U0012U0005);
      MT538.U0015U0005 = new SwiftTagDefinition("EndOfBlock_B2a_16S", "End of Block");
      MT538.U0015U0005.TagName = ":16S:INPOS";
      MT538.U0016U0005 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT538.U0016U0005.Mandatory = false;
      MT538.U0015U0005.Elements.Add((SwiftDefinitionElement) MT538.U0016U0005);
      MT538.U0082U0004.Elements.Add((SwiftDefinitionElement) MT538.U0015U0005);
      MT538.U0008U0004.Elements.Add((SwiftDefinitionElement) MT538.U0082U0004);
      MT538.U0017U0005 = new SwiftTagDefinition("EndOfBlock_B2_16S", "End of Block");
      MT538.U0017U0005.TagName = ":16S:SUBBAL";
      MT538.U0018U0005 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT538.U0018U0005.Mandatory = false;
      MT538.U0017U0005.Elements.Add((SwiftDefinitionElement) MT538.U0018U0005);
      MT538.U0008U0004.Elements.Add((SwiftDefinitionElement) MT538.U0017U0005);
      MT538.U008DU0002.Elements.Add((SwiftDefinitionElement) MT538.U0008U0004);
      MT538.U0019U0005 = new SwiftTagDefinition("EndOfBlock_B_16S", "End of Block");
      MT538.U0019U0005.TagName = ":16S:FIN";
      MT538.U001AU0005 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT538.U001AU0005.Mandatory = false;
      MT538.U0019U0005.Elements.Add((SwiftDefinitionElement) MT538.U001AU0005);
      MT538.U008DU0002.Elements.Add((SwiftDefinitionElement) MT538.U0019U0005);
      MT538.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT538.U008DU0002);
      MT538.U001BU0005 = new SwiftTagSequenceDefinition("SequenceC", "Additional Information");
      MT538.U001BU0005.Mandatory = false;
      MT538.U001CU0005 = new SwiftTagDefinition("StartOfBlock_C_16R", "Start of Block");
      MT538.U001CU0005.TagName = ":16R:ADDINFO";
      MT538.U001DU0005 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block ");
      MT538.U001DU0005.Mandatory = false;
      MT538.U001CU0005.Elements.Add((SwiftDefinitionElement) MT538.U001DU0005);
      MT538.U001BU0005.Elements.Add((SwiftDefinitionElement) MT538.U001CU0005);
      MT538.U001EU0005 = new SwiftTagChoiceDefinition("Choice", "");
      MT538.U001EU0005.Mandatory = false;
      MT538.U001EU0005.Multiple = true;
      MT538.U001FU0005 = new SwiftTagDefinition("Party_C_95P", "Party");
      MT538.U001FU0005.TagName = ":95P::";
      MT538.U001FU0005.Multiple = true;
      MT538.U007FU0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U001FU0005.Elements.Add((SwiftDefinitionElement) MT538.U007FU0005);
      MT538.U0080U0005 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT538.U001FU0005.Elements.Add((SwiftDefinitionElement) MT538.U0080U0005);
      MT538.U001EU0005.Elements.Add((SwiftDefinitionElement) MT538.U001FU0005);
      MT538.U0081U0005 = new SwiftTagDefinition("Party_C_95R", "Party");
      MT538.U0081U0005.TagName = ":95R::";
      MT538.U0081U0005.Multiple = true;
      MT538.U0082U0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U0081U0005.Elements.Add((SwiftDefinitionElement) MT538.U0082U0005);
      MT538.U0083U0005 = new SwiftTagSubItemDefinition("DataSourceScheme", "Data Source Scheme with a maximum of 8 characters");
      MT538.U0081U0005.Elements.Add((SwiftDefinitionElement) MT538.U0083U0005);
      MT538.U0084U0005 = new SwiftTagSubItemDefinition("ProprietaryCode", "Proprietary Code");
      MT538.U0081U0005.Elements.Add((SwiftDefinitionElement) MT538.U0084U0005);
      MT538.U001EU0005.Elements.Add((SwiftDefinitionElement) MT538.U0081U0005);
      MT538.U0086U0005 = new SwiftTagDefinition("Party_C_95Q", "Party");
      MT538.U0086U0005.TagName = ":95Q::";
      MT538.U0086U0005.Multiple = true;
      MT538.U0087U0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT538.U0086U0005.Elements.Add((SwiftDefinitionElement) MT538.U0087U0005);
      MT538.U0088U0005 = new SwiftTagSubItemDefinition("NameAndAddress_95Q", "Name & Address");
      MT538.U0086U0005.Elements.Add((SwiftDefinitionElement) MT538.U0088U0005);
      MT538.U001EU0005.Elements.Add((SwiftDefinitionElement) MT538.U0086U0005);
      MT538.U001BU0005.Elements.Add((SwiftDefinitionElement) MT538.U001EU0005);
      MT538.U0089U0005 = new SwiftTagDefinition("EndOfBlock_C_16S", "End of Block");
      MT538.U0089U0005.TagName = ":16S:ADDINFO";
      MT538.U008AU0005 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT538.U008AU0005.Mandatory = false;
      MT538.U0089U0005.Elements.Add((SwiftDefinitionElement) MT538.U008AU0005);
      MT538.U001BU0005.Elements.Add((SwiftDefinitionElement) MT538.U0089U0005);
      MT538.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT538.U001BU0005);
    }

    public class SequenceAClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT538.U0002;
        }
      }

      [Description("Start of Block")]
      public Tag16R StartOfBlock_A_16R
      {
        get
        {
          return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U0003);
        }
      }

      [Description("Start of Block")]
      public Tag16R Tag16R_StartOfBlock_A
      {
        get
        {
          return this.StartOfBlock_A_16R;
        }
      }

      [Description("Page Number/Continuation Indicator")]
      public Tag28E PageNumberContinuationIndicator_A_28E
      {
        get
        {
          return new Tag28E((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U0005);
        }
      }

      [Description("Page Number/Continuation Indicator")]
      public Tag28E Tag28E_PageNumberContinuationIndicator_A
      {
        get
        {
          return this.PageNumberContinuationIndicator_A_28E;
        }
      }

      [Description("Statement Number")]
      public Tag13A NumberIdentification_A_13A
      {
        get
        {
          return new Tag13A((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U000E);
        }
      }

      [Description("Statement Number")]
      public Tag13A Tag13A_NumberIdentification_A
      {
        get
        {
          return this.NumberIdentification_A_13A;
        }
      }

      [Description("Statement Number")]
      public Tag13J NumberIdentification_A_13J
      {
        get
        {
          return new Tag13J((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U0011);
        }
      }

      [Description("Statement Number")]
      public Tag13J Tag13J_NumberIdentification_A
      {
        get
        {
          return this.NumberIdentification_A_13J;
        }
      }

      [Description("Sender’s Reference")]
      public Tag20C Reference_A_20C
      {
        get
        {
          return new Tag20C((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U0014);
        }
      }

      [Description("Sender’s Reference")]
      public Tag20C Tag20C_Reference_A
      {
        get
        {
          return this.Reference_A_20C;
        }
      }

      [Description("Function of the Message")]
      public Tag23G FunctionOfTheMessage_A_23G
      {
        get
        {
          return new Tag23G((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U0017);
        }
      }

      [Description("Function of the Message")]
      public Tag23G Tag23G_FunctionOfTheMessage_A
      {
        get
        {
          return this.FunctionOfTheMessage_A_23G;
        }
      }

      [Description("Preparation Date")]
      public Tag98A Date_A_98A
      {
        get
        {
          return new Tag98A((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U001C);
        }
      }

      [Description("Preparation Date")]
      public Tag98A Tag98A_Date_A
      {
        get
        {
          return this.Date_A_98A;
        }
      }

      [Description("Preparation Date/Time")]
      public Tag98C DateTime_A_98C
      {
        get
        {
          return new Tag98C((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U001F);
        }
      }

      [Description("Preparation Date/Time")]
      public Tag98C Tag98C_DateTime_A
      {
        get
        {
          return this.DateTime_A_98C;
        }
      }

      [Description("Trade Date/Time")]
      public Tag98E DateTime_A_98E
      {
        get
        {
          return new Tag98E((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U0083);
        }
      }

      [Description("Trade Date/Time")]
      public Tag98E Tag98E_DateTime_A
      {
        get
        {
          return this.DateTime_A_98E;
        }
      }

      [Description("Statement Period")]
      public Tag69A Period_A_69A
      {
        get
        {
          return new Tag69A((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U008F);
        }
      }

      [Description("Statement Period")]
      public Tag69A Tag69A_Period_A
      {
        get
        {
          return this.Period_A_69A;
        }
      }

      [Description("Statement Period")]
      public Tag69B Period_A_69B
      {
        get
        {
          return new Tag69B((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U0094);
        }
      }

      [Description("Statement Period")]
      public Tag69B Tag69B_Period_A
      {
        get
        {
          return this.Period_A_69B;
        }
      }

      [Description("Indicator")]
      public Tag22F[] Indicator_A_22F
      {
        get
        {
          int index = -1;
          List<Tag22F> list = new List<Tag22F>();
          int count;
          do
          {
            ++index;
            Tag22F tag22F = new Tag22F((SwiftElement) this, index, (SwiftDefinitionElement) MT538.U009D);
            count = this.ListTags((SwiftElement) tag22F).Count;
            if (count > 0)
              list.Add(tag22F);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Indicator")]
      public Tag22F[] Tag22F_Indicator_A
      {
        get
        {
          return this.Indicator_A_22F;
        }
      }

      [Description("Linkages")]
      public MT538.SequenceAClass.SequenceA1Class[] SequenceA1
      {
        get
        {
          int index = -1;
          List<MT538.SequenceAClass.SequenceA1Class> list = new List<MT538.SequenceAClass.SequenceA1Class>();
          int count;
          do
          {
            ++index;
            MT538.SequenceAClass.SequenceA1Class sequenceA1Class = new MT538.SequenceAClass.SequenceA1Class((SwiftElement) this, index, false);
            count = this.ListTags((SwiftElement) sequenceA1Class).Count;
            if (count > 0)
              list.Add(sequenceA1Class);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Account Owner")]
      public MT538.SequenceAClass.Tag95P Party_A_95P
      {
        get
        {
          return new MT538.SequenceAClass.Tag95P((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U0018U0002);
        }
      }

      [Description("Account Owner")]
      public MT538.SequenceAClass.Tag95P Tag95P_Party_A
      {
        get
        {
          return this.Party_A_95P;
        }
      }

      [Description("Account Owner")]
      public MT538.SequenceAClass.Tag95R Party_A_95R
      {
        get
        {
          return new MT538.SequenceAClass.Tag95R((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U001BU0002);
        }
      }

      [Description("Account Owner")]
      public MT538.SequenceAClass.Tag95R Tag95R_Party_A
      {
        get
        {
          return this.Party_A_95R;
        }
      }

      [Description("Safekeeping Account")]
      public Tag97A Account_A_97A
      {
        get
        {
          return new Tag97A((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U007FU0002);
        }
      }

      [Description("Safekeeping Account")]
      public Tag97A Tag97A_Account_A
      {
        get
        {
          return this.Account_A_97A;
        }
      }

      [Description("Safekeeping Account")]
      public Tag97B Account_A_97B
      {
        get
        {
          return new Tag97B((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U0082U0002);
        }
      }

      [Description("Safekeeping Account")]
      public Tag97B Tag97B_Account_A
      {
        get
        {
          return this.Account_A_97B;
        }
      }

      [Description("Activity Flag")]
      public Tag17B Flag_A_17B
      {
        get
        {
          return new Tag17B((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U0088U0002);
        }
      }

      [Description("Activity Flag")]
      public Tag17B Tag17B_Flag_A
      {
        get
        {
          return this.Flag_A_17B;
        }
      }

      [Description("End of Block")]
      public Tag16S EndOfBlock_A_16S
      {
        get
        {
          return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U008BU0002);
        }
      }

      [Description("End of Block")]
      public Tag16S Tag16S_EndOfBlock_A
      {
        get
        {
          return this.EndOfBlock_A_16S;
        }
      }

      internal SequenceAClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public Tag22F AddIndicator_A_22F()
      {
        return new Tag22F((SwiftElement) this, this.Indicator_A_22F.Length, (SwiftDefinitionElement) MT538.U009D)
        {
          Value = string.Empty
        };
      }

      public void RemoveIndicator_A_22F(Tag22F tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public MT538.SequenceAClass.SequenceA1Class AddSequenceA1()
      {
        return new MT538.SequenceAClass.SequenceA1Class((SwiftElement) this, this.SequenceA1.Length, true);
      }

      public void RemoveSequenceA1(MT538.SequenceAClass.SequenceA1Class sequence)
      {
        foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
          this.RemoveTag(tag);
      }

      public class SequenceA1Class : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT538.U0002U0002;
          }
        }

        [Description("Start of Block")]
        public Tag16R StartOfBlock_A1_16R
        {
          get
          {
            return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U0003U0002);
          }
        }

        [Description("Start of Block")]
        public Tag16R Tag16R_StartOfBlock_A1
        {
          get
          {
            return this.StartOfBlock_A1_16R;
          }
        }

        [Description("Linked Message")]
        public Tag13A NumberIdentification_A1_13A
        {
          get
          {
            return new Tag13A((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U0006U0002);
          }
        }

        [Description("Linked Message")]
        public Tag13A Tag13A_NumberIdentification_A1
        {
          get
          {
            return this.NumberIdentification_A1_13A;
          }
        }

        [Description("Linked Message")]
        public Tag13B NumberIdentification_A1_13B
        {
          get
          {
            return new Tag13B((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U000EU0002);
          }
        }

        [Description("Linked Message")]
        public Tag13B Tag13B_NumberIdentification_A1
        {
          get
          {
            return this.NumberIdentification_A1_13B;
          }
        }

        [Description("Reference")]
        public Tag20C Reference_A1_20C
        {
          get
          {
            return new Tag20C((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U0012U0002);
          }
        }

        [Description("Reference")]
        public Tag20C Tag20C_Reference_A1
        {
          get
          {
            return this.Reference_A1_20C;
          }
        }

        [Description("End of Block")]
        public Tag16S EndOfBlock_A1_16S
        {
          get
          {
            return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U0015U0002);
          }
        }

        [Description("End of Block")]
        public Tag16S Tag16S_EndOfBlock_A1
        {
          get
          {
            return this.EndOfBlock_A1_16S;
          }
        }

        internal SequenceA1Class(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }
      }

      public class Tag95P : SwiftTagWrapper
      {
        public string Value
        {
          get
          {
            return this.GetValue();
          }
          set
          {
            this.SetValue("95P", value);
          }
        }

        internal Tag95P(SwiftElement parent, int index, SwiftDefinitionElement definition)
          : base(parent, index, definition)
        {
        }
      }

      public class Tag95R : SwiftTagWrapper
      {
        public string Value
        {
          get
          {
            return this.GetValue();
          }
          set
          {
            this.SetValue("95R", value);
          }
        }

        internal Tag95R(SwiftElement parent, int index, SwiftDefinitionElement definition)
          : base(parent, index, definition)
        {
        }
      }
    }

    public class SequenceBClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT538.U008DU0002;
        }
      }

      [Description("Start of Block")]
      public Tag16R StartOfBlock_B_16R
      {
        get
        {
          return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U008EU0002);
        }
      }

      [Description("Start of Block")]
      public Tag16R Tag16R_StartOfBlock_B
      {
        get
        {
          return this.StartOfBlock_B_16R;
        }
      }

      [Description("Identification of the Financial Instrument")]
      public Tag35B IdentificationOfFinancialInstrument_B_35B
      {
        get
        {
          return new Tag35B((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U0090U0002);
        }
      }

      [Description("Identification of the Financial Instrument")]
      public Tag35B Tag35B_IdentificationOfFinancialInstrument_B
      {
        get
        {
          return this.IdentificationOfFinancialInstrument_B_35B;
        }
      }

      [Description("Sub-safekeeping Account")]
      public MT538.SequenceBClass.SequenceB1Class[] SequenceB1
      {
        get
        {
          int index = -1;
          List<MT538.SequenceBClass.SequenceB1Class> list = new List<MT538.SequenceBClass.SequenceB1Class>();
          int count;
          do
          {
            ++index;
            MT538.SequenceBClass.SequenceB1Class sequenceB1Class = new MT538.SequenceBClass.SequenceB1Class((SwiftElement) this, index, false);
            count = this.ListTags((SwiftElement) sequenceB1Class).Count;
            if (count > 0)
              list.Add(sequenceB1Class);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Sub-Balance")]
      public MT538.SequenceBClass.SequenceB2Class[] SequenceB2
      {
        get
        {
          int index = -1;
          List<MT538.SequenceBClass.SequenceB2Class> list = new List<MT538.SequenceBClass.SequenceB2Class>();
          int count;
          do
          {
            ++index;
            MT538.SequenceBClass.SequenceB2Class sequenceB2Class = new MT538.SequenceBClass.SequenceB2Class((SwiftElement) this, index, false);
            count = this.ListTags((SwiftElement) sequenceB2Class).Count;
            if (count > 0)
              list.Add(sequenceB2Class);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("End of Block")]
      public Tag16S EndOfBlock_B_16S
      {
        get
        {
          return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U0019U0005);
        }
      }

      [Description("End of Block")]
      public Tag16S Tag16S_EndOfBlock_B
      {
        get
        {
          return this.EndOfBlock_B_16S;
        }
      }

      internal SequenceBClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public MT538.SequenceBClass.SequenceB1Class AddSequenceB1()
      {
        return new MT538.SequenceBClass.SequenceB1Class((SwiftElement) this, this.SequenceB1.Length, true);
      }

      public void RemoveSequenceB1(MT538.SequenceBClass.SequenceB1Class sequence)
      {
        foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
          this.RemoveTag(tag);
      }

      public MT538.SequenceBClass.SequenceB2Class AddSequenceB2()
      {
        return new MT538.SequenceBClass.SequenceB2Class((SwiftElement) this, this.SequenceB2.Length, true);
      }

      public void RemoveSequenceB2(MT538.SequenceBClass.SequenceB2Class sequence)
      {
        foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
          this.RemoveTag(tag);
      }

      public class SequenceB1Class : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT538.U0094U0002;
          }
        }

        [Description("Start of Block")]
        public Tag16R StartOfBlock_B1_16R
        {
          get
          {
            return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U0095U0002);
          }
        }

        [Description("Start of Block")]
        public Tag16R Tag16R_StartOfBlock_B1
        {
          get
          {
            return this.StartOfBlock_B1_16R;
          }
        }

        [Description("Place of Listing")]
        public Tag94B Place_B1_94B
        {
          get
          {
            return new Tag94B((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U0097U0002);
          }
        }

        [Description("Place of Listing")]
        public Tag94B Tag94B_Place_B1
        {
          get
          {
            return this.Place_B1_94B;
          }
        }

        [Description("Indicator")]
        public Tag22F[] Indicator_B1_22F
        {
          get
          {
            int index = -1;
            List<Tag22F> list = new List<Tag22F>();
            int count;
            do
            {
              ++index;
              Tag22F tag22F = new Tag22F((SwiftElement) this, index, (SwiftDefinitionElement) MT538.U009DU0002);
              count = this.ListTags((SwiftElement) tag22F).Count;
              if (count > 0)
                list.Add(tag22F);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Indicator")]
        public Tag22F[] Tag22F_Indicator_B1
        {
          get
          {
            return this.Indicator_B1_22F;
          }
        }

        [Description("Type of Financial Instrument")]
        public Tag12A[] TypeOfFinancialInstrument_B1_12A
        {
          get
          {
            int index = -1;
            List<Tag12A> list = new List<Tag12A>();
            int count;
            do
            {
              ++index;
              Tag12A tag12A = new Tag12A((SwiftElement) this, index, (SwiftDefinitionElement) MT538.U0003U0003);
              count = this.ListTags((SwiftElement) tag12A).Count;
              if (count > 0)
                list.Add(tag12A);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Type of Financial Instrument")]
        public Tag12A[] Tag12A_TypeOfFinancialInstrument_B1
        {
          get
          {
            return this.TypeOfFinancialInstrument_B1_12A;
          }
        }

        [Description("Type of Financial Instrument")]
        public Tag12C[] TypeOfFinancialInstrument_B1_12C
        {
          get
          {
            int index = -1;
            List<Tag12C> list = new List<Tag12C>();
            int count;
            do
            {
              ++index;
              Tag12C tag12C = new Tag12C((SwiftElement) this, index, (SwiftDefinitionElement) MT538.U0007U0003);
              count = this.ListTags((SwiftElement) tag12C).Count;
              if (count > 0)
                list.Add(tag12C);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Type of Financial Instrument")]
        public Tag12C[] Tag12C_TypeOfFinancialInstrument_B1
        {
          get
          {
            return this.TypeOfFinancialInstrument_B1_12C;
          }
        }

        [Description("Type of Financial Instrument")]
        public Tag12B[] TypeOfFinancialInstrument_B1_12B
        {
          get
          {
            int index = -1;
            List<Tag12B> list = new List<Tag12B>();
            int count;
            do
            {
              ++index;
              Tag12B tag12B = new Tag12B((SwiftElement) this, index, (SwiftDefinitionElement) MT538.U000FU0003);
              count = this.ListTags((SwiftElement) tag12B).Count;
              if (count > 0)
                list.Add(tag12B);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Type of Financial Instrument")]
        public Tag12B[] Tag12B_TypeOfFinancialInstrument_B1
        {
          get
          {
            return this.TypeOfFinancialInstrument_B1_12B;
          }
        }

        [Description("Currency Of Denomination")]
        public Tag11A[] CurrencyOfDenomination_B1_11A
        {
          get
          {
            int index = -1;
            List<Tag11A> list = new List<Tag11A>();
            int count;
            do
            {
              ++index;
              Tag11A tag11A = new Tag11A((SwiftElement) this, index, (SwiftDefinitionElement) MT538.U0013U0003);
              count = this.ListTags((SwiftElement) tag11A).Count;
              if (count > 0)
                list.Add(tag11A);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Currency Of Denomination")]
        public Tag11A[] Tag11A_CurrencyOfDenomination_B1
        {
          get
          {
            return this.CurrencyOfDenomination_B1_11A;
          }
        }

        [Description("Date")]
        public Tag98A[] Date_B1_98A
        {
          get
          {
            int index = -1;
            List<Tag98A> list = new List<Tag98A>();
            int count;
            do
            {
              ++index;
              Tag98A tag98A = new Tag98A((SwiftElement) this, index, (SwiftDefinitionElement) MT538.U0016U0003);
              count = this.ListTags((SwiftElement) tag98A).Count;
              if (count > 0)
                list.Add(tag98A);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Date")]
        public Tag98A[] Tag98A_Date_B1
        {
          get
          {
            return this.Date_B1_98A;
          }
        }

        [Description("Rate")]
        public Tag92A[] Rate_B1_92A
        {
          get
          {
            int index = -1;
            List<Tag92A> list = new List<Tag92A>();
            int count;
            do
            {
              ++index;
              Tag92A tag92A = new Tag92A((SwiftElement) this, index, (SwiftDefinitionElement) MT538.U0019U0003);
              count = this.ListTags((SwiftElement) tag92A).Count;
              if (count > 0)
                list.Add(tag92A);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Rate")]
        public Tag92A[] Tag92A_Rate_B1
        {
          get
          {
            return this.Rate_B1_92A;
          }
        }

        [Description("Number Identification")]
        public Tag13A[] NumberIdentification_B1_13A
        {
          get
          {
            int index = -1;
            List<Tag13A> list = new List<Tag13A>();
            int count;
            do
            {
              ++index;
              Tag13A tag13A = new Tag13A((SwiftElement) this, index, (SwiftDefinitionElement) MT538.U001DU0003);
              count = this.ListTags((SwiftElement) tag13A).Count;
              if (count > 0)
                list.Add(tag13A);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Number Identification")]
        public Tag13A[] Tag13A_NumberIdentification_B1
        {
          get
          {
            return this.NumberIdentification_B1_13A;
          }
        }

        [Description("Number Identification")]
        public Tag13B[] NumberIdentification_B1_13B
        {
          get
          {
            int index = -1;
            List<Tag13B> list = new List<Tag13B>();
            int count;
            do
            {
              ++index;
              Tag13B tag13B = new Tag13B((SwiftElement) this, index, (SwiftDefinitionElement) MT538.U007FU0003);
              count = this.ListTags((SwiftElement) tag13B).Count;
              if (count > 0)
                list.Add(tag13B);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Number Identification")]
        public Tag13B[] Tag13B_NumberIdentification_B1
        {
          get
          {
            return this.NumberIdentification_B1_13B;
          }
        }

        [Description("Number Identification")]
        public Tag13K[] NumberIdentification_B1_13K
        {
          get
          {
            int index = -1;
            List<Tag13K> list = new List<Tag13K>();
            int count;
            do
            {
              ++index;
              Tag13K tag13K = new Tag13K((SwiftElement) this, index, (SwiftDefinitionElement) MT538.U0083U0003);
              count = this.ListTags((SwiftElement) tag13K).Count;
              if (count > 0)
                list.Add(tag13K);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Number Identification")]
        public Tag13K[] Tag13K_NumberIdentification_B1
        {
          get
          {
            return this.NumberIdentification_B1_13K;
          }
        }

        [Description("Flag")]
        public Tag17B[] Flag_B1_17B
        {
          get
          {
            int index = -1;
            List<Tag17B> list = new List<Tag17B>();
            int count;
            do
            {
              ++index;
              Tag17B tag17B = new Tag17B((SwiftElement) this, index, (SwiftDefinitionElement) MT538.U0089U0003);
              count = this.ListTags((SwiftElement) tag17B).Count;
              if (count > 0)
                list.Add(tag17B);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Flag")]
        public Tag17B[] Tag17B_Flag_B1
        {
          get
          {
            return this.Flag_B1_17B;
          }
        }

        [Description("Price")]
        public Tag90A[] Price_B1_90A
        {
          get
          {
            int index = -1;
            List<Tag90A> list = new List<Tag90A>();
            int count;
            do
            {
              ++index;
              Tag90A tag90A = new Tag90A((SwiftElement) this, index, (SwiftDefinitionElement) MT538.U008DU0003);
              count = this.ListTags((SwiftElement) tag90A).Count;
              if (count > 0)
                list.Add(tag90A);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Price")]
        public Tag90A[] Tag90A_Price_B1
        {
          get
          {
            return this.Price_B1_90A;
          }
        }

        [Description("Deal Price")]
        public Tag90B[] Price_B1_90B
        {
          get
          {
            int index = -1;
            List<Tag90B> list = new List<Tag90B>();
            int count;
            do
            {
              ++index;
              Tag90B tag90B = new Tag90B((SwiftElement) this, index, (SwiftDefinitionElement) MT538.U0092U0003);
              count = this.ListTags((SwiftElement) tag90B).Count;
              if (count > 0)
                list.Add(tag90B);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Deal Price")]
        public Tag90B[] Tag90B_Price_B1
        {
          get
          {
            return this.Price_B1_90B;
          }
        }

        [Description("Quantity Of Financial Instrument")]
        public Tag36B[] QuantityOfFinancialInstrument_B1_36B
        {
          get
          {
            int index = -1;
            List<Tag36B> list = new List<Tag36B>();
            int count;
            do
            {
              ++index;
              Tag36B tag36B = new Tag36B((SwiftElement) this, index, (SwiftDefinitionElement) MT538.U0099U0003);
              count = this.ListTags((SwiftElement) tag36B).Count;
              if (count > 0)
                list.Add(tag36B);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Quantity Of Financial Instrument")]
        public Tag36B[] Tag36B_QuantityOfFinancialInstrument_B1
        {
          get
          {
            return this.QuantityOfFinancialInstrument_B1_36B;
          }
        }

        [Description("Identification of the Financial Instrument")]
        public Tag35B[] IdentificationOfFinancialInstrument_B1_35B
        {
          get
          {
            int index = -1;
            List<Tag35B> list = new List<Tag35B>();
            int count;
            do
            {
              ++index;
              Tag35B tag35B = new Tag35B((SwiftElement) this, index, (SwiftDefinitionElement) MT538.U009EU0003);
              count = this.ListTags((SwiftElement) tag35B).Count;
              if (count > 0)
                list.Add(tag35B);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Identification of the Financial Instrument")]
        public Tag35B[] Tag35B_IdentificationOfFinancialInstrument_B1
        {
          get
          {
            return this.IdentificationOfFinancialInstrument_B1_35B;
          }
        }

        [Description("Financial Instrument Attribute Narrative")]
        public Tag70E Narrative_B1_70E
        {
          get
          {
            return new Tag70E((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U0003U0004);
          }
        }

        [Description("Financial Instrument Attribute Narrative")]
        public Tag70E Tag70E_Narrative_B1
        {
          get
          {
            return this.Narrative_B1_70E;
          }
        }

        [Description("End Of Block")]
        public Tag16S EndOfBlock_B1_16S
        {
          get
          {
            return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U0006U0004);
          }
        }

        [Description("End Of Block")]
        public Tag16S Tag16S_EndOfBlock_B1
        {
          get
          {
            return this.EndOfBlock_B1_16S;
          }
        }

        internal SequenceB1Class(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }

        public Tag22F AddIndicator_B1_22F()
        {
          return new Tag22F((SwiftElement) this, this.Indicator_B1_22F.Length, (SwiftDefinitionElement) MT538.U009DU0002)
          {
            Value = string.Empty
          };
        }

        public void RemoveIndicator_B1_22F(Tag22F tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag12A AddTypeOfFinancialInstrument_B1_12A()
        {
          return new Tag12A((SwiftElement) this, this.TypeOfFinancialInstrument_B1_12A.Length, (SwiftDefinitionElement) MT538.U0003U0003)
          {
            Value = string.Empty
          };
        }

        public void RemoveTypeOfFinancialInstrument_B1_12A(Tag12A tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag12C AddTypeOfFinancialInstrument_B1_12C()
        {
          return new Tag12C((SwiftElement) this, this.TypeOfFinancialInstrument_B1_12C.Length, (SwiftDefinitionElement) MT538.U0007U0003)
          {
            Value = string.Empty
          };
        }

        public void RemoveTypeOfFinancialInstrument_B1_12C(Tag12C tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag12B AddTypeOfFinancialInstrument_B1_12B()
        {
          return new Tag12B((SwiftElement) this, this.TypeOfFinancialInstrument_B1_12B.Length, (SwiftDefinitionElement) MT538.U000FU0003)
          {
            Value = string.Empty
          };
        }

        public void RemoveTypeOfFinancialInstrument_B1_12B(Tag12B tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag11A AddCurrencyOfDenomination_B1_11A()
        {
          return new Tag11A((SwiftElement) this, this.CurrencyOfDenomination_B1_11A.Length, (SwiftDefinitionElement) MT538.U0013U0003)
          {
            Value = string.Empty
          };
        }

        public void RemoveCurrencyOfDenomination_B1_11A(Tag11A tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag98A AddDate_B1_98A()
        {
          return new Tag98A((SwiftElement) this, this.Date_B1_98A.Length, (SwiftDefinitionElement) MT538.U0016U0003)
          {
            Value = string.Empty
          };
        }

        public void RemoveDate_B1_98A(Tag98A tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag92A AddRate_B1_92A()
        {
          return new Tag92A((SwiftElement) this, this.Rate_B1_92A.Length, (SwiftDefinitionElement) MT538.U0019U0003)
          {
            Value = string.Empty
          };
        }

        public void RemoveRate_B1_92A(Tag92A tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag13A AddNumberIdentification_B1_13A()
        {
          return new Tag13A((SwiftElement) this, this.NumberIdentification_B1_13A.Length, (SwiftDefinitionElement) MT538.U001DU0003)
          {
            Value = string.Empty
          };
        }

        public void RemoveNumberIdentification_B1_13A(Tag13A tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag13B AddNumberIdentification_B1_13B()
        {
          return new Tag13B((SwiftElement) this, this.NumberIdentification_B1_13B.Length, (SwiftDefinitionElement) MT538.U007FU0003)
          {
            Value = string.Empty
          };
        }

        public void RemoveNumberIdentification_B1_13B(Tag13B tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag13K AddNumberIdentification_B1_13K()
        {
          return new Tag13K((SwiftElement) this, this.NumberIdentification_B1_13K.Length, (SwiftDefinitionElement) MT538.U0083U0003)
          {
            Value = string.Empty
          };
        }

        public void RemoveNumberIdentification_B1_13K(Tag13K tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag17B AddFlag_B1_17B()
        {
          return new Tag17B((SwiftElement) this, this.Flag_B1_17B.Length, (SwiftDefinitionElement) MT538.U0089U0003)
          {
            Value = string.Empty
          };
        }

        public void RemoveFlag_B1_17B(Tag17B tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag90A AddPrice_B1_90A()
        {
          return new Tag90A((SwiftElement) this, this.Price_B1_90A.Length, (SwiftDefinitionElement) MT538.U008DU0003)
          {
            Value = string.Empty
          };
        }

        public void RemovePrice_B1_90A(Tag90A tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag90B AddPrice_B1_90B()
        {
          return new Tag90B((SwiftElement) this, this.Price_B1_90B.Length, (SwiftDefinitionElement) MT538.U0092U0003)
          {
            Value = string.Empty
          };
        }

        public void RemovePrice_B1_90B(Tag90B tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag36B AddQuantityOfFinancialInstrument_B1_36B()
        {
          return new Tag36B((SwiftElement) this, this.QuantityOfFinancialInstrument_B1_36B.Length, (SwiftDefinitionElement) MT538.U0099U0003)
          {
            Value = string.Empty
          };
        }

        public void RemoveQuantityOfFinancialInstrument_B1_36B(Tag36B tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag35B AddIdentificationOfFinancialInstrument_B1_35B()
        {
          return new Tag35B((SwiftElement) this, this.IdentificationOfFinancialInstrument_B1_35B.Length, (SwiftDefinitionElement) MT538.U009EU0003)
          {
            Value = string.Empty
          };
        }

        public void RemoveIdentificationOfFinancialInstrument_B1_35B(Tag35B tag)
        {
          this.RemoveTag(tag.GetTag());
        }
      }

      public class SequenceB2Class : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT538.U0008U0004;
          }
        }

        [Description("Start of Block")]
        public Tag16R StartOfBlock_B2_16R
        {
          get
          {
            return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U000EU0004);
          }
        }

        [Description("Start of Block")]
        public Tag16R Tag16R_StartOfBlock_B2
        {
          get
          {
            return this.StartOfBlock_B2_16R;
          }
        }

        [Description("Place of Trade")]
        public Tag94B Place_B2_94B
        {
          get
          {
            return new Tag94B((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U0011U0004);
          }
        }

        [Description("Place of Trade")]
        public Tag94B Tag94B_Place_B2
        {
          get
          {
            return this.Place_B2_94B;
          }
        }

        [Description("Place of Safekeeping")]
        public MT538.SequenceBClass.SequenceB2Class.Tag94C Place_B2_94C
        {
          get
          {
            return new MT538.SequenceBClass.SequenceB2Class.Tag94C((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U0017U0004);
          }
        }

        [Description("Place of Safekeeping")]
        public MT538.SequenceBClass.SequenceB2Class.Tag94C Tag94C_Place_B2
        {
          get
          {
            return this.Place_B2_94C;
          }
        }

        [Description("Place of Safekeeping")]
        public Tag94F Place_B2_94F
        {
          get
          {
            return new Tag94F((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U001AU0004);
          }
        }

        [Description("Place of Safekeeping")]
        public Tag94F Tag94F_Place_B2
        {
          get
          {
            return this.Place_B2_94F;
          }
        }

        [Description("Balance From")]
        public Tag93A Balance_B2_93A
        {
          get
          {
            return new Tag93A((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U001FU0004);
          }
        }

        [Description("Balance From")]
        public Tag93A Tag93A_Balance_B2
        {
          get
          {
            return this.Balance_B2_93A;
          }
        }

        [Description("Intra-Position Movement")]
        public MT538.SequenceBClass.SequenceB2Class.SequenceB2aClass[] SequenceB2a
        {
          get
          {
            int index = -1;
            List<MT538.SequenceBClass.SequenceB2Class.SequenceB2aClass> list = new List<MT538.SequenceBClass.SequenceB2Class.SequenceB2aClass>();
            int count;
            do
            {
              ++index;
              MT538.SequenceBClass.SequenceB2Class.SequenceB2aClass sequenceB2aClass = new MT538.SequenceBClass.SequenceB2Class.SequenceB2aClass((SwiftElement) this, index, false);
              count = this.ListTags((SwiftElement) sequenceB2aClass).Count;
              if (count > 0)
                list.Add(sequenceB2aClass);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("End of Block")]
        public Tag16S EndOfBlock_B2_16S
        {
          get
          {
            return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U0017U0005);
          }
        }

        [Description("End of Block")]
        public Tag16S Tag16S_EndOfBlock_B2
        {
          get
          {
            return this.EndOfBlock_B2_16S;
          }
        }

        internal SequenceB2Class(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }

        public MT538.SequenceBClass.SequenceB2Class.SequenceB2aClass AddSequenceB2a()
        {
          return new MT538.SequenceBClass.SequenceB2Class.SequenceB2aClass((SwiftElement) this, this.SequenceB2a.Length, true);
        }

        public void RemoveSequenceB2a(MT538.SequenceBClass.SequenceB2Class.SequenceB2aClass sequence)
        {
          foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
            this.RemoveTag(tag);
        }

        public class Tag94C : SwiftTagWrapper
        {
          public string Value
          {
            get
            {
              return this.GetValue();
            }
            set
            {
              this.SetValue("94C", value);
            }
          }

          internal Tag94C(SwiftElement parent, int index, SwiftDefinitionElement definition)
            : base(parent, index, definition)
          {
          }
        }

        public class SequenceB2aClass : SwiftTagSequence
        {
          internal override SwiftDefinitionElement Definition
          {
            get
            {
              return (SwiftDefinitionElement) MT538.U0082U0004;
            }
          }

          [Description("Start of Block")]
          public Tag16R StartOfBlock_B2a_16R
          {
            get
            {
              return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U0083U0004);
            }
          }

          [Description("Start of Block")]
          public Tag16R Tag16R_StartOfBlock_B2a
          {
            get
            {
              return this.StartOfBlock_B2a_16R;
            }
          }

          [Description("Linkages")]
          public MT538.SequenceBClass.SequenceB2Class.SequenceB2aClass.SequenceB2a1Class SequenceB2a1
          {
            get
            {
              MT538.SequenceBClass.SequenceB2Class.SequenceB2aClass.SequenceB2a1Class sequenceB2a1Class = new MT538.SequenceBClass.SequenceB2Class.SequenceB2aClass.SequenceB2a1Class((SwiftElement) this, 0, false);
              if (this.ListTags((SwiftElement) sequenceB2a1Class).Count > 0)
                return sequenceB2a1Class;
              else
                return (MT538.SequenceBClass.SequenceB2Class.SequenceB2aClass.SequenceB2a1Class) null;
            }
          }

          [Description("Quantity of Financial Instrument Settled")]
          public Tag36B QuantityOfFinancialInstrument_B2a_36B
          {
            get
            {
              return new Tag36B((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U0096U0004);
            }
          }

          [Description("Quantity of Financial Instrument Settled")]
          public Tag36B Tag36B_QuantityOfFinancialInstrument_B2a
          {
            get
            {
              return this.QuantityOfFinancialInstrument_B2a_36B;
            }
          }

          [Description("Balance To")]
          public Tag93A Balance_B2a_93A
          {
            get
            {
              return new Tag93A((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U009BU0004);
            }
          }

          [Description("Balance To")]
          public Tag93A Tag93A_Balance_B2a
          {
            get
            {
              return this.Balance_B2a_93A;
            }
          }

          [Description("Price Quotation Date")]
          public Tag98A[] Date_B2a_98A
          {
            get
            {
              int index = -1;
              List<Tag98A> list = new List<Tag98A>();
              int count;
              do
              {
                ++index;
                Tag98A tag98A = new Tag98A((SwiftElement) this, index, (SwiftDefinitionElement) MT538.U0001U0005);
                count = this.ListTags((SwiftElement) tag98A).Count;
                if (count > 0)
                  list.Add(tag98A);
              }
              while (count > 0);
              return list.ToArray();
            }
          }

          [Description("Price Quotation Date")]
          public Tag98A[] Tag98A_Date_B2a
          {
            get
            {
              return this.Date_B2a_98A;
            }
          }

          [Description("Price Quotation Date/Time")]
          public Tag98C[] DateTime_B2a_98C
          {
            get
            {
              int index = -1;
              List<Tag98C> list = new List<Tag98C>();
              int count;
              do
              {
                ++index;
                Tag98C tag98C = new Tag98C((SwiftElement) this, index, (SwiftDefinitionElement) MT538.U0004U0005);
                count = this.ListTags((SwiftElement) tag98C).Count;
                if (count > 0)
                  list.Add(tag98C);
              }
              while (count > 0);
              return list.ToArray();
            }
          }

          [Description("Price Quotation Date/Time")]
          public Tag98C[] Tag98C_DateTime_B2a
          {
            get
            {
              return this.DateTime_B2a_98C;
            }
          }

          [Description("Corporate Action Event Indicator ")]
          public Tag22F Indicator_B2a_22F
          {
            get
            {
              return new Tag22F((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U000EU0005);
            }
          }

          [Description("Corporate Action Event Indicator ")]
          public Tag22F Tag22F_Indicator_B2a
          {
            get
            {
              return this.Indicator_B2a_22F;
            }
          }

          [Description("Settlement Instruction Processing Narrative")]
          public Tag70E Narrative_B2a_70E
          {
            get
            {
              return new Tag70E((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U0012U0005);
            }
          }

          [Description("Settlement Instruction Processing Narrative")]
          public Tag70E Tag70E_Narrative_B2a
          {
            get
            {
              return this.Narrative_B2a_70E;
            }
          }

          [Description("End of Block")]
          public Tag16S EndOfBlock_B2a_16S
          {
            get
            {
              return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U0015U0005);
            }
          }

          [Description("End of Block")]
          public Tag16S Tag16S_EndOfBlock_B2a
          {
            get
            {
              return this.EndOfBlock_B2a_16S;
            }
          }

          internal SequenceB2aClass(SwiftElement parent, int index, bool createTags)
            : base(parent, index, createTags)
          {
          }

          public MT538.SequenceBClass.SequenceB2Class.SequenceB2aClass.SequenceB2a1Class AddSequenceB2a1()
          {
            return this.SequenceB2a1 ?? new MT538.SequenceBClass.SequenceB2Class.SequenceB2aClass.SequenceB2a1Class((SwiftElement) this, 0, true);
          }

          public void RemoveSequenceB2a1(MT538.SequenceBClass.SequenceB2Class.SequenceB2aClass.SequenceB2a1Class sequence)
          {
            foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
              this.RemoveTag(tag);
          }

          public Tag98A AddDate_B2a_98A()
          {
            return new Tag98A((SwiftElement) this, this.Date_B2a_98A.Length, (SwiftDefinitionElement) MT538.U0001U0005)
            {
              Value = string.Empty
            };
          }

          public void RemoveDate_B2a_98A(Tag98A tag)
          {
            this.RemoveTag(tag.GetTag());
          }

          public Tag98C AddDateTime_B2a_98C()
          {
            return new Tag98C((SwiftElement) this, this.DateTime_B2a_98C.Length, (SwiftDefinitionElement) MT538.U0004U0005)
            {
              Value = string.Empty
            };
          }

          public void RemoveDateTime_B2a_98C(Tag98C tag)
          {
            this.RemoveTag(tag.GetTag());
          }

          public class SequenceB2a1Class : SwiftTagSequence
          {
            internal override SwiftDefinitionElement Definition
            {
              get
              {
                return (SwiftDefinitionElement) MT538.U0086U0004;
              }
            }

            [Description("Start of Block")]
            public Tag16R StartOfBlock_B2a1_16R
            {
              get
              {
                return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U0087U0004);
              }
            }

            [Description("Start of Block")]
            public Tag16R Tag16R_StartOfBlock_B2a1
            {
              get
              {
                return this.StartOfBlock_B2a1_16R;
              }
            }

            [Description("Linked Message")]
            public Tag13A NumberIdentification_B2a1_13A
            {
              get
              {
                return new Tag13A((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U008AU0004);
              }
            }

            [Description("Linked Message")]
            public Tag13A Tag13A_NumberIdentification_B2a1
            {
              get
              {
                return this.NumberIdentification_B2a1_13A;
              }
            }

            [Description("Linked Message")]
            public Tag13B NumberIdentification_B2a1_13B
            {
              get
              {
                return new Tag13B((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U008DU0004);
              }
            }

            [Description("Linked Message")]
            public Tag13B Tag13B_NumberIdentification_B2a1
            {
              get
              {
                return this.NumberIdentification_B2a1_13B;
              }
            }

            [Description("Reference")]
            public Tag20C Reference_B2a1_20C
            {
              get
              {
                return new Tag20C((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U0091U0004);
              }
            }

            [Description("Reference")]
            public Tag20C Tag20C_Reference_B2a1
            {
              get
              {
                return this.Reference_B2a1_20C;
              }
            }

            [Description("End of Block")]
            public Tag16S EndOfBlock_B2a1_16S
            {
              get
              {
                return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U0094U0004);
              }
            }

            [Description("End of Block")]
            public Tag16S Tag16S_EndOfBlock_B2a1
            {
              get
              {
                return this.EndOfBlock_B2a1_16S;
              }
            }

            internal SequenceB2a1Class(SwiftElement parent, int index, bool createTags)
              : base(parent, index, createTags)
            {
            }
          }
        }
      }
    }

    public class SequenceCClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT538.U001BU0005;
        }
      }

      [Description("Start of Block")]
      public Tag16R StartOfBlock_C_16R
      {
        get
        {
          return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U001CU0005);
        }
      }

      [Description("Start of Block")]
      public Tag16R Tag16R_StartOfBlock_C
      {
        get
        {
          return this.StartOfBlock_C_16R;
        }
      }

      [Description("Party")]
      public Tag95P[] Party_C_95P
      {
        get
        {
          int index = -1;
          List<Tag95P> list = new List<Tag95P>();
          int count;
          do
          {
            ++index;
            Tag95P tag95P = new Tag95P((SwiftElement) this, index, (SwiftDefinitionElement) MT538.U001FU0005);
            count = this.ListTags((SwiftElement) tag95P).Count;
            if (count > 0)
              list.Add(tag95P);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Party")]
      public Tag95P[] Tag95P_Party_C
      {
        get
        {
          return this.Party_C_95P;
        }
      }

      [Description("Party")]
      public Tag95R[] Party_C_95R
      {
        get
        {
          int index = -1;
          List<Tag95R> list = new List<Tag95R>();
          int count;
          do
          {
            ++index;
            Tag95R tag95R = new Tag95R((SwiftElement) this, index, (SwiftDefinitionElement) MT538.U0081U0005);
            count = this.ListTags((SwiftElement) tag95R).Count;
            if (count > 0)
              list.Add(tag95R);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Party")]
      public Tag95R[] Tag95R_Party_C
      {
        get
        {
          return this.Party_C_95R;
        }
      }

      [Description("Party")]
      public Tag95Q[] Party_C_95Q
      {
        get
        {
          int index = -1;
          List<Tag95Q> list = new List<Tag95Q>();
          int count;
          do
          {
            ++index;
            Tag95Q tag95Q = new Tag95Q((SwiftElement) this, index, (SwiftDefinitionElement) MT538.U0086U0005);
            count = this.ListTags((SwiftElement) tag95Q).Count;
            if (count > 0)
              list.Add(tag95Q);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Party")]
      public Tag95Q[] Tag95Q_Party_C
      {
        get
        {
          return this.Party_C_95Q;
        }
      }

      [Description("End of Block")]
      public Tag16S EndOfBlock_C_16S
      {
        get
        {
          return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT538.U0089U0005);
        }
      }

      [Description("End of Block")]
      public Tag16S Tag16S_EndOfBlock_C
      {
        get
        {
          return this.EndOfBlock_C_16S;
        }
      }

      internal SequenceCClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public Tag95P AddParty_C_95P()
      {
        return new Tag95P((SwiftElement) this, this.Party_C_95P.Length, (SwiftDefinitionElement) MT538.U001FU0005)
        {
          Value = string.Empty
        };
      }

      public void RemoveParty_C_95P(Tag95P tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag95R AddParty_C_95R()
      {
        return new Tag95R((SwiftElement) this, this.Party_C_95R.Length, (SwiftDefinitionElement) MT538.U0081U0005)
        {
          Value = string.Empty
        };
      }

      public void RemoveParty_C_95R(Tag95R tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag95Q AddParty_C_95Q()
      {
        return new Tag95Q((SwiftElement) this, this.Party_C_95Q.Length, (SwiftDefinitionElement) MT538.U0086U0005)
        {
          Value = string.Empty
        };
      }

      public void RemoveParty_C_95Q(Tag95Q tag)
      {
        this.RemoveTag(tag.GetTag());
      }
    }
  }
}
